mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
IND no longer notices lfhascr.
I've actually got the fix in term_mouse right now (or less wrong). Yeah. [originally from svn r83]
This commit is contained in:
parent
1bfbaadd93
commit
69352c87fc
@ -649,12 +649,12 @@ void term_out(void) {
|
|||||||
case '\013':
|
case '\013':
|
||||||
case '\014':
|
case '\014':
|
||||||
case '\012':
|
case '\012':
|
||||||
case 'IND':
|
case IND:
|
||||||
if (curs_y == marg_b)
|
if (curs_y == marg_b)
|
||||||
scroll (marg_t, marg_b, 1, TRUE);
|
scroll (marg_t, marg_b, 1, TRUE);
|
||||||
else if (curs_y < rows-1)
|
else if (curs_y < rows-1)
|
||||||
curs_y++;
|
curs_y++;
|
||||||
if (lfhascr)
|
if (lfhascr && c != IND)
|
||||||
curs_x = 0;
|
curs_x = 0;
|
||||||
fix_cpos;
|
fix_cpos;
|
||||||
wrapnext = FALSE;
|
wrapnext = FALSE;
|
||||||
@ -1514,7 +1514,7 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
|
|||||||
back->send (q, p-q);
|
back->send (q, p-q);
|
||||||
if (p <= data+len-sizeof(sel_nl) &&
|
if (p <= data+len-sizeof(sel_nl) &&
|
||||||
!memcmp(p, sel_nl, sizeof(sel_nl))) {
|
!memcmp(p, sel_nl, sizeof(sel_nl))) {
|
||||||
back->send ("\n", 1);
|
back->send ("\015", 1);
|
||||||
p += sizeof(sel_nl);
|
p += sizeof(sel_nl);
|
||||||
}
|
}
|
||||||
q = p;
|
q = p;
|
||||||
|
Loading…
Reference in New Issue
Block a user