Subject: CVS commit: src/lib/libedit
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 11/09/2005 22:11:10
Module Name:	src
Committed By:	christos
Date:		Wed Nov  9 22:11:10 UTC 2005

Modified Files:
	src/lib/libedit: refresh.c

Log Message:
Refresh bug reported by Julien Torres:

going from:
    activate -verbose
to:
    reset -activation
results in:
    reset -activationverbose"
instead of:
    reset -activation

This is because we choose to insert "reset -" before the current line,
and the delete "e -" and insert "ion" in the appropriate place. The
cleareol code did not handle this case properly; we now cleareol to
the maximum number of characters of the first difference, the second
difference and the difference in line length.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 src/lib/libedit/refresh.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.