Skip to content

Fix graphical bindings for daemon terminal frames#119

Open
gudzpoz wants to merge 1 commit intoemacs-evil:masterfrom
gudzpoz:master
Open

Fix graphical bindings for daemon terminal frames#119
gudzpoz wants to merge 1 commit intoemacs-evil:masterfrom
gudzpoz:master

Conversation

@gudzpoz
Copy link
Copy Markdown

@gudzpoz gudzpoz commented Jun 7, 2025

Issue #58 seems to still cause problems for Emacs running in daemon mode.

Instead of detecting window-system at load time, this PR uses menu-item to probe window-system at runtime, returning nil for terminal sessions.

A similar trick has been used by Evil for ESC handling in terminals #13793; 24.3.50; M-x broken in viper and X:

https://github.com/emacs-evil/evil/blob/682e87fce99f39ea3155f11f87ee56b6e4593304/evil-core.el#L589-L590

fixes #58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Keybindings go crazy in terminal

1 participant