PERFORCE change 155234 for review

Ed Schouten ed at FreeBSD.org
Wed Dec 24 03:13:00 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=155234

Change 155234 by ed at 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 &&


More information about the p4-projects mailing list