platform-specific header files.
git-svn-id: http://svn.tartarus.org/sgt/putty@2043
cda61777-01e9-0310-a592-
d414129be87e
#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;
*/
#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
*/
#define SELECTION_NUL_TERMINATED 1
+/*
+ * On Windows, copying to the clipboard terminates lines with CRLF.
+ */
+#define SEL_NL { 13, 10 }
+
/*
* Exports from winctrls.c.
*/