Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit PR/17954: SAITOH Masanobu: since we have opost a...



details:   https://anonhg.NetBSD.org/src/rev/97ee7414a1d1
branches:  trunk
changeset: 538726:97ee7414a1d1
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 27 20:04:36 2002 +0000

description:
PR/17954: SAITOH Masanobu: since we have opost and onlcr set, we don't need
to output \r to go to the end of line; \n is enough. From David Laight.

diffstat:

 lib/libedit/refresh.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 7bbf3c46fa2d -r 97ee7414a1d1 lib/libedit/refresh.c
--- a/lib/libedit/refresh.c     Sun Oct 27 18:45:11 2002 +0000
+++ b/lib/libedit/refresh.c     Sun Oct 27 20:04:36 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: refresh.c,v 1.18 2002/03/18 16:00:58 christos Exp $    */
+/*     $NetBSD: refresh.c,v 1.19 2002/10/27 20:04:36 christos Exp $    */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)refresh.c  8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: refresh.c,v 1.18 2002/03/18 16:00:58 christos Exp $");
+__RCSID("$NetBSD: refresh.c,v 1.19 2002/10/27 20:04:36 christos Exp $");
 #endif
 #endif /* not lint && not SCCSID */
 
@@ -318,7 +318,6 @@
 {
 
        term_move_to_line(el, el->el_refresh.r_oldcv);
-       term__putc('\r');
        term__putc('\n');
        re_clear_display(el);
        term__flush();



Home | Main Index | Thread Index | Old Index