Open m-kru opened 1 month ago
The Name() function returns Tab for Ctrl+Tab instead of Ctrl+Tab. This is the case for all non character keys. For example, for Ctrl+Enter the Name() function returns Enter instead of Ctrl+Enter.
Tab
Ctrl+Tab
Name()
Enter
Ctrl+Enter
https://github.com/gdamore/tcell/blob/88b9c25c3c5ee48b611dfeca9a2e9cf07812c35e/key.go#L206
Ok, the Ctrl modifier is not set. I wonder who eats the Ctrl key, is it the keyboard or terminal emulator.
Interestingly, Alt+Tab returns Alt+Tab.
Alt+Tab
The Name() function returns
Tab
for Ctrl+Tab instead ofCtrl+Tab
. This is the case for all non character keys. For example, for Ctrl+Enter theName()
function returnsEnter
instead ofCtrl+Enter
.https://github.com/gdamore/tcell/blob/88b9c25c3c5ee48b611dfeca9a2e9cf07812c35e/key.go#L206