reddit / emacs

"End" key results in "<select> is undefined" after updating to 24bit color gnu-screen.

vfclists ยท 2022-10-07 13:22
In order to get Doom colours working properly in a `screen` session within Konsole, the KDE terminal, I upgraded to the master `screen` version from the `screen` repo which supports 24bit colour in order to get the theme colours working properly. Everything appears to work fine except the `End` key does not work properly and results in a `<select> is undefined` message displaying. Any experience of this? **UPDATE 1**: When I try `kitty` and `xterm` the `End` key works as expected so I suspect the problem lies in Konsole. It also works in Vim **UPDATE 2**: It seems that on account of some subtle interaction between Emacs 28.2 and a screen session running inside KDE's `konsole` Emacs detects the `<select>` key but for some reason it is not bound to the expected `(evil-end-of-line)` function. The problem seems to be caused by some rare interaction between Emacs 28.2, 24bit colour supporting `screen` and KDE's console.