зеркало из https://github.com/github/putty.git
SEL_NL is different between Windows and Unix; move it out into the
platform-specific header files. [originally from svn r2043]
This commit is contained in:
Родитель
9904e114c1
Коммит
b3072e227e
2
putty.h
2
putty.h
|
@ -99,8 +99,6 @@ typedef struct backend_tag Backend;
|
|||
#define ATTR_CUR_AND (~(ATTR_BOLD|ATTR_REVERSE|ATTR_BLINK|ATTR_COLOURS))
|
||||
#define ATTR_CUR_XOR 0x00BA0000UL
|
||||
|
||||
#define SEL_NL { 13, 10 }
|
||||
|
||||
GLOBAL int rows, cols, savelines;
|
||||
|
||||
GLOBAL int has_focus;
|
||||
|
|
|
@ -16,6 +16,11 @@ extern Backend pty_backend;
|
|||
*/
|
||||
#define SELECTION_NUL_TERMINATED 0
|
||||
|
||||
/*
|
||||
* Under X, copying to the clipboard terminates lines with just LF.
|
||||
*/
|
||||
#define SEL_NL { 10 }
|
||||
|
||||
/* Simple wraparound timer function */
|
||||
unsigned long getticks(void); /* based on gettimeofday(2) */
|
||||
#define GETTICKCOUNT getticks
|
||||
|
|
|
@ -64,6 +64,11 @@ GLOBAL HINSTANCE hinst;
|
|||
*/
|
||||
#define SELECTION_NUL_TERMINATED 1
|
||||
|
||||
/*
|
||||
* On Windows, copying to the clipboard terminates lines with CRLF.
|
||||
*/
|
||||
#define SEL_NL { 13, 10 }
|
||||
|
||||
/*
|
||||
* Exports from winctrls.c.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче