From 69352c87fccc607eeef9ee4674a6e2ced1a674d9 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Tue, 9 Mar 1999 12:10:05 +0000 Subject: [PATCH] IND no longer notices lfhascr. I've actually got the fix in term_mouse right now (or less wrong). Yeah. [originally from svn r83] --- terminal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terminal.c b/terminal.c index 63403c1a..96d87b3a 100644 --- a/terminal.c +++ b/terminal.c @@ -649,12 +649,12 @@ void term_out(void) { case '\013': case '\014': case '\012': - case 'IND': + case IND: if (curs_y == marg_b) scroll (marg_t, marg_b, 1, TRUE); else if (curs_y < rows-1) curs_y++; - if (lfhascr) + if (lfhascr && c != IND) curs_x = 0; fix_cpos; wrapnext = FALSE; @@ -1514,7 +1514,7 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) { back->send (q, p-q); if (p <= data+len-sizeof(sel_nl) && !memcmp(p, sel_nl, sizeof(sel_nl))) { - back->send ("\n", 1); + back->send ("\015", 1); p += sizeof(sel_nl); } q = p; -- 2.45.2