Date: Wed, 24 Dec 2008 11:13:00 GMT From: Ed Schouten <ed@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 155234 for review Message-ID: <200812241113.mBOBD0AB071844@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=155234 Change 155234 by ed@ed_dull on 2008/12/24 11:12:52 Make insert mode work properly. The cursor should progress, even in insert mode. Reported by: swell k gmail com Affected files ... .. //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#15 edit Differences ... ==== //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#15 (text+ko) ==== @@ -676,8 +676,8 @@ if (t->t_stateflags & TS_INSERT) { /* - * Insert mode. Keep cursor at the same place, but move - * all existing characters to the right. + * Insert mode. Move all existing characters to the + * right. */ if (t->t_cursor.tp_col < t->t_winsize.tp_col - width) { teken_rect_t tr; @@ -692,7 +692,6 @@ } teken_funcs_putchar(t, &t->t_cursor, c, &t->t_curattr); - return; } if (t->t_cursor.tp_col == t->t_winsize.tp_col - 1 &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812241113.mBOBD0AB071844>