mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-17 19:18:06 -05:00
Turn off paste-as-poorman for line drawing chars until it's configurable
[originally from svn r702]
This commit is contained in:
parent
cc306c6d9d
commit
fe2ee468e6
15
terminal.c
15
terminal.c
@ -2055,24 +2055,27 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
|
|||||||
}
|
}
|
||||||
while (q < nlpos && q < selend)
|
while (q < nlpos && q < selend)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
/* VT Specials -> ISO8859-1 */
|
/* VT Specials -> ISO8859-1 */
|
||||||
static const char poorman2[] =
|
static const char poorman2[] =
|
||||||
"* # HTFFCRLF\xB0 \xB1 NLVT+ + + + + - - - - - + + + + | <=>=PI!=\xA3 \xB7 ";
|
"* # HTFFCRLF\xB0 \xB1 NLVT+ + + + + - - - - - + + + + | <=>=PI!=\xA3 \xB7 ";
|
||||||
|
#endif
|
||||||
|
|
||||||
int ch = (*q & CHAR_MASK);
|
int ch = (*q & CHAR_MASK);
|
||||||
|
|
||||||
if ((*q & ATTR_LINEDRW) && ch >= 0x60 && ch < 0x7F )
|
#if 0
|
||||||
{
|
if ((*q & ATTR_LINEDRW) && ch >= 0x60 && ch < 0x7F) {
|
||||||
int x;
|
int x;
|
||||||
*p++ = poorman2[2*(ch-0x60)];
|
*p++ = poorman2[2*(ch-0x60)];
|
||||||
if ( (x = poorman2[2*(ch-0x60)+1]) != ' ')
|
if ( (x = poorman2[2*(ch-0x60)+1]) != ' ')
|
||||||
*p++ = x;
|
*p++ = x;
|
||||||
}
|
} else
|
||||||
#if 0
|
|
||||||
else if ((*q & ATTR_GBCHR) && ch == '#')
|
|
||||||
*p++ = (unsigned char) 0xA3;
|
|
||||||
#endif
|
#endif
|
||||||
|
#if 0
|
||||||
|
if ((*q & ATTR_GBCHR) && ch == '#')
|
||||||
|
*p++ = (unsigned char) 0xA3;
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
*p++ = (unsigned char) ch;
|
*p++ = (unsigned char) ch;
|
||||||
q++;
|
q++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user