aboutsummaryrefslogtreecommitdiff
path: root/modules/httpd-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-18 20:28:27 -0400
committerCraig Jennings <c@cjennings.net>2026-05-18 20:28:27 -0400
commit63fb6bf729964d8a92970e3c2663841c14fa27ed (patch)
treeaf13d4e27dd28f027a7598a834acd892809841ad /modules/httpd-config.el
parentd545a39162ef1fbe6ca6cfb842307073d03a809f (diff)
downloaddotemacs-63fb6bf729964d8a92970e3c2663841c14fa27ed.tar.gz
dotemacs-63fb6bf729964d8a92970e3c2663841c14fa27ed.zip
fix(vterm): stop wheel/escape forwarders from blocking Emacs
vterm-send-string ends with (accept-process-output ... vterm-timer-delay ...). The global vterm-timer-delay is nil in this config, so the call blocks forever when the pty's program consumes the event without producing output -- a common pattern for TUIs like Claude Code reacting to mouse wheel or Escape. The symptom is a spinning cursor until C-g. cj/vterm--send-mouse-wheel and cj/vterm-send-escape now wrap the send in a let-binding that pins vterm-timer-delay to 0, so accept-process-output returns immediately. A top-level (defvar vterm-timer-delay) declaration goes alongside so the let is dynamic. Without it, lexical-binding-t in this file makes the binding lexical, invisible to vterm-send-string across files. The backtrace from the failing case confirmed the lookup was still receiving nil before the declaration.
Diffstat (limited to 'modules/httpd-config.el')
0 files changed, 0 insertions, 0 deletions