News for hackers. Stuff that matters.
Re:Comprehensive Keyboard Handling in Terminals by kzrdude on Monday April 03, 2023 @06:06AM (#35420999)
When Alt+a looks the same as Esc+a, then the program has to wait biefly after it sees you press Esc - the continuation could mean it's really Alt+a you want to send.

That latency interferes just with a plain Esc key press. There's no weird use case in this.

Re:Comprehensive Keyboard Handling in Terminals by nextlevelwizard on Monday April 03, 2023 @06:28AM (#35421160)
Either my terminal does some magic or this is not true. Most of my vim & tmux commands are alt+something and these execute as soon as I press the bind.

Or does tmux make them work automagically?

Re:Comprehensive Keyboard Handling in Terminals by kzrdude on Monday April 03, 2023 @09:53AM (#35423561)
Maybe https://neovim.io/doc/user/options.html#'ttimeout' could be evidence that it's not a problem that I've made up, it exists in some terminals. My comment was about that latency of pressing a single Esc.
Re:Comprehensive Keyboard Handling in Terminals by nextlevelwizard on Monday April 03, 2023 @10:21AM (#35424022)
I also can't say I've noticed such latency