weechat
weechat copied to clipboard
Discard escape character after a delay
Feature description
Terminals encode key chords like alt+w as an escape character (ESC, \x1B) followed by w. As a result, pressing the Escape key followed by w has the same effect as pressing alt+w, which leads to funny accidents when one unintentionally presses Escape then starts typing a message starting with w, and alt+w is mapped to "close the current buffer".
Would it make sense to discard an input consisting of a single escape character after a (configurable?) delay?