Date: Sun, 4 Dec 2005 09:34:56 +0000 (UTC) From: Stefan Farfeleder <stefanf@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libedit refresh.c Message-ID: <200512040934.jB49YuZF016475@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
stefanf 2005-12-04 09:34:56 UTC FreeBSD src repository Modified files: lib/libedit refresh.c Log: Merge NetBSD's revision 1.27. This bug can be observed eg. when browsing through the history in sh. | 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. Revision Changes Path 1.11 +34 -12 src/lib/libedit/refresh.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512040934.jB49YuZF016475>