1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Selection now supported in pterm. Required small modifications

outside the unix subdir, owing to more things needing to become
platform-dependent.

[originally from svn r2033]
This commit is contained in:
Simon Tatham
2002-10-13 11:24:25 +00:00
parent b65b4e36f5
commit ffff6f32c7
7 changed files with 208 additions and 13 deletions

View File

@ -53,6 +53,17 @@ GLOBAL HINSTANCE hinst;
#define WM_XUSER (WM_USER + 0x2000)
#define WM_NETEVENT (WM_XUSER + 5)
/*
* On Windows, we send MA_2CLK as the only event marking the second
* press of a mouse button. Compare unix.h.
*/
#define MULTICLICK_ONLY_EVENT 1
/*
* On Windows, data written to the clipboard must be NUL-terminated.
*/
#define SELECTION_NUL_TERMINATED 1
/*
* Exports from winctrls.c.
*/