emacs-libvterm icon indicating copy to clipboard operation
emacs-libvterm copied to clipboard

Keybinding `C-\` to Toggle Input Method Not Working

Open nakibrayane opened this issue 1 year ago • 0 comments

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

  1. Open Emacs.
  2. Start a new vterm session by executing M-x vterm.
  3. Press C-\ to attempt to switch the input method.
  4. 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

nakibrayane avatar Dec 30 '24 12:12 nakibrayane