]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Make calling term_nopaste() a cross-platform feature.
authorSimon Tatham <anakin@pobox.com>
Sat, 17 Aug 2013 16:06:40 +0000 (16:06 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 17 Aug 2013 16:06:40 +0000 (16:06 +0000)
commit4db5c2899f2b5c14d6bf72b39c4f71348ceabdd4
tree003dde7e56bacd0c4c3bece1cbf1df59fdba8e36
parent9d5903b163908339d5284390fef00965519cf4f7
Make calling term_nopaste() a cross-platform feature.

It was one of those things that went in ages ago on Windows and never
got replicated in the Unix front end. And it needn't be: ldisc.c is a
perfect place to put it, since it knows which of the data it's sending
is based on a keystroke and which is automatically generated, and it
also has access to the terminal context. So now a keypress can
interrupt a runaway paste on all platforms.

[originally from svn r10025]
Recipe
ldisc.c
noterm.c [new file with mode: 0644]
windows/window.c