X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/e634699906875560987ba8d6aa776ef7b8394301..28d00fe40d0aac1c65a317f89f030036acd791cb:/winstuff.h diff --git a/winstuff.h b/winstuff.h index 8c994c03..dadce6e0 100644 --- a/winstuff.h +++ b/winstuff.h @@ -18,8 +18,6 @@ #endif #endif -typedef struct config_tag Config; /* duplicated from putty.h */ - #define PUTTY_REG_POS "Software\\SimonTatham\\PuTTY" #define PUTTY_REG_PARENT "Software\\SimonTatham" #define PUTTY_REG_PARENT_CHILD "PuTTY" @@ -65,6 +63,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. */