bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6758: 23.2; xterm.el: please provide an option to not discard input


From: Stefan Monnier
Subject: bug#6758: 23.2; xterm.el: please provide an option to not discard input in terminal-init-xterm
Date: Tue, 03 Aug 2010 00:21:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Forget the time-dependent part of what I said, let's just send the
> query and handle the response whenever it happens to come in.  See
> the below patch.  This fixes everything -- it still detects both
> modifyOtherKeys and the background color, but doesn't require flushing
> input or rely on any timeouts at all, unlike the existing code.
> And there's nothing tricky.  What do you think?

Looks pretty good from here, thank you.
We may want to get rid of the "\e[>" (and "\e]11;") decode rules after
they've been used, just in case (or better yet: make them more
robust).

Any objection?


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]