You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I type M-L (note the uppercase 'L') and, subsequently, M-l in gnome console (a terminal application), I get the following:
~> cat
^[L^[l
This is the expected and correct output — 'L' is being differentiated from 'l'. Unsurprisingly, the same goes for other letters as well.
Actual behavior
However, typing the same two shortcuts within emac's vterm results in no differentiation between shortcuts that are led by the shift modifier and those that aren't, that is, they are always interpreted as their lowercase variant:
~> cat
^[l^[l
This happens independent of shell program. Of course, the shift key is being recognized — I can type uppercase letters, just not use shift together with other modifier keys.
Additional info
Emacs version: GNU Emacs 29.1 (pgtk build, running under wayland)
vterm version: 20240102.1640
describe-keyM-L in vterm-mode:
M-L runs the command vterm--self-insert-meta (found in
vterm-mode-map), which is an interactive native-compiled Lisp function
in ‘vterm.el’.
describe-keyM-l in vterm-mode:
M-l runs the command vterm--self-insert-meta (found in
vterm-mode-map), which is an interactive native-compiled Lisp function
in ‘vterm.el’.
The text was updated successfully, but these errors were encountered:
rien333
changed the title
Terminal programs cannot receive shortcuts led by the <kbd>shift</kbd> modifier
Terminal programs do not receive shortcuts led by the Shift modifier
Jan 11, 2024
Expected behavior
If I type M-L (note the uppercase 'L') and, subsequently, M-l in gnome console (a terminal application), I get the following:
This is the expected and correct output — 'L' is being differentiated from 'l'. Unsurprisingly, the same goes for other letters as well.
Actual behavior
However, typing the same two shortcuts within emac's vterm results in no differentiation between shortcuts that are led by the shift modifier and those that aren't, that is, they are always interpreted as their lowercase variant:
This happens independent of shell program. Of course, the shift key is being recognized — I can type uppercase letters, just not use shift together with other modifier keys.
Additional info
Emacs version: GNU Emacs 29.1 (pgtk build, running under wayland)
vterm version: 20240102.1640
describe-key
M-L invterm-mode
:describe-key
M-l invterm-mode
:The text was updated successfully, but these errors were encountered: