emacs-libvterm
emacs-libvterm copied to clipboard
Keybinding `C-\` to Toggle Input Method Not Working
Description
In GNU Emacs, the key binding C-\ (Control + Backslash) is used to toggle the input method, allowing users to enter text in various languages or scripts. However, this keybinding does not function as expected when in vterm.
Steps to Reproduce
- Open Emacs.
- Start a new
vtermsession by executingM-x vterm. - Press
C-\to attempt to switch the input method. - Observe that the input method does not change, indicating that the keybinding is not recognized.
Expected Behavior
Pressing C-\ should toggle the input method, allowing for seamless switching between different input methods.
Actual Behavior
The keybinding C-\ is unresponsive in vterm, preventing the user from toggling the input method.
Additional Information
- I have verified that the input method works correctly in other modes (e.g.,
text-mode,org-mode). - The issue persists even after restarting Emacs and disabling other packages that may interfere with keybindings.
- No messages are displayed in the minibuffer when the keybinding is pressed.
Environment
- GNU Emacs Version: 29.4 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.2, Xaw3d scroll bars)
- vterm Version: Installed from Nixpkgs, Version: 20241118.1627