BUG: DEC private mode saving does not save low state after saving high state
Patrick Hemmer
urxvt at stormcloud9.net
Fri Apr 13 01:13:27 CEST 2012
Whenever you use the escape code "ESC [ ? Pm s" to save a high state, if
you later change the state to low and save it again, then restore it,
the high state is restored, not the low state.
Duplicate:
echo -e '\e[?9h' # enable high state for mouse reporting
echo -e '\e[?9s' # save state
echo -e '\e[?9l' # disable mouse reporting
echo -e '\e[?9s' # save state
echo -e '\e[?9r' # restore state
(click somewhere and watch escape codes get sent to the terminal)
The bug is on line 3584 of command.C . Its saving by doing an |=
operation. Since the previously saved state is high, when you 'or' it
with a low bit, the high bit remains.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20120412/217a45d5/attachment.html>
More information about the rxvt-unicode
mailing list