Sample Header Ad - 728x90

How to stop terminal from getting mouse click input?

0 votes
1 answer
828 views
I was just reading this forum where I found a curious terminal control escape sequence: "\033[?1000h". Naturally, I've tried it to see what could happens. In accordance with the inspiring comment, my terminal started to show chars corresponding to mouse clicks! (Amazing!) **Questions: 1** The "entity" mainly responsible for this (terminal showing mouse clicks code) is the line discipline, right? who caughts the sequence and configure the terminal line for this behavior. In this case, normally does it receive mouse inputs and ignore it or does it "subscribe" itself to acess such information? **Questions: 2** Is it possible to get mouse coordinates in a equivalent form? How? **Questions: 3** How do I turn it off!? (closing and opening a new terminal deeply dishonors me!) Thanks in advanced. I'am using Debian 9, Xterm.
Asked by Daniel Bandeira (152 rep)
May 21, 2020, 12:04 AM
Last activity: May 21, 2020, 01:26 AM