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
{{ message }}
Repository navigation
evil-ghostel: bridged terminals (e.g. rexel) treated as not live #845
In bridged terminals created via ghostel-make-terminal (such as rexel block buffers), ghostel--process is nil and I/O goes through ghostel--pty-out-function instead.
However, evil-ghostel--terminal-live-p in extensions/evil-ghostel/evil-ghostel.el only checks ghostel--process:
(defunevil-ghostel--terminal-live-p ()
"Return non-nil while a live semi-char terminal can receive keys.Gates raw passthrough keys (Ctrl, Delete) a TUI still wants."
(and evil-ghostel-mode
ghostel--term
ghostel--process (process-live-p ghostel--process)
(eq ghostel--input-mode 'semi-char)))
As a result, evil-ghostel--terminal-live-p (and therefore evil-ghostel--prompt-active-p) always returns nil in rexel buffers, so insert-state Ctrl/Delete passthrough and normal/visual-state PTY editing commands stop working.
Suggested fix
Match ghostel.el's bridged-terminal check by also accepting ghostel--pty-out-function:
(Note: evil-ghostel--sync-render also guards on (when ghostel--process ...) — not sure if bridged terminals need anything special there or if skipping accept-process-output is fine.)
Activity
dakra commentedon Nov 30, 2026
Thanks. Should be fixed on main. But please test. I tested locally but I'm not a evil user so my testing was limited.
Drive the shell from evil-ghostel in a bridged terminal
merrickluo commentedon Dec 3, 2026
can confirm it's working with remote rex session now thanks!