Date: Sat, 6 Dec 2008 10:42:17 GMT From: Ed Schouten <ed@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 154176 for review Message-ID: <200812061042.mB6AgH80055842@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=154176 Change 154176 by ed@ed_flippo on 2008/12/06 10:41:20 Fix backspace handling on first column. Affected files ... .. //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#3 edit Differences ... ==== //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#3 (text+ko) ==== @@ -197,10 +197,8 @@ if (t->t_nextchar.tp_row > 0 && (t->t_nextchar.tp_col % t->t_winsize.tp_col) == 0) { t->t_nextchar.tp_row--; - t->t_nextchar.tp_col -= 2; - } else { - t->t_nextchar.tp_col--; } + t->t_nextchar.tp_col--; /* Sync cursor position again. */ t->t_cursor.tp_row = t->t_nextchar.tp_row;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812061042.mB6AgH80055842>