mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-02-27 02:45:03 -06:00

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]
12 lines
176 B
C
12 lines
176 B
C
/*
|
|
* Stubs of functions in terminal.c, for use in programs that don't
|
|
* have a terminal.
|
|
*/
|
|
|
|
#include "putty.h"
|
|
#include "terminal.h"
|
|
|
|
void term_nopaste(Terminal *term)
|
|
{
|
|
}
|