1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Default handling of VT100 line drawing characters in cut and paste is

now to translate them into poor man's characters (+--+ and |). We also
have an option to disable this (and map line drawing characters to the
corresponding ASCII code as before). Thanks to Robert de Bath.

[originally from svn r1029]
This commit is contained in:
Simon Tatham
2001-04-09 11:59:35 +00:00
parent ab3443b9e6
commit 2c39b69a52
4 changed files with 42 additions and 28 deletions

View File

@ -52,6 +52,7 @@
#define ERASE_CHAR (ATTR_DEFAULT | ' ')
#define ATTR_MASK 0xFFFFFF00UL
#define CHAR_MASK 0x000000FFUL
#define CSET_MASK 0x00F00000UL /* mask for character set */
typedef HDC Context;
#define SEL_NL { 13, 10 }
@ -232,6 +233,7 @@ typedef struct {
unsigned char colours[22][3];
/* Selection options */
int mouse_is_xterm;
int rawcnp;
short wordness[256];
/* translations */
VT_Mode vtmode;