Closed Sacules closed 4 years ago
Probably I didn’t have a current terminfo for this when I regenerated the database.
Hey @gdamore , we are facing a similar problem in the following issue: https://github.com/Bios-Marcel/cordless/issues/247
In our case it's not Shift+Tab though, but Alt+ArrowKey, which also just gives us Alt+KeyRune
.
I think #369 will address the Alt key mixing with arrow keys.
I'm less confident of Shift Tab.
So it appears that the "st" terminfo entry lacks kcbt -- which means that we don't encode back tab. This is unfortunate -- we need a more complete terminal definition for it.
So good news, the git repo for st does have a useful definition that includes kcbt.
Before 1.3.0, Shift+Tab would be properly detected on st and return
78
andBacktab
ontcell.EventKey.Key()
andtcell.EventKey.Name()
respectively, but now I get256
andAlt+Rune[[]
.