Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit mention the limitation of the literal sequence d...



details:   https://anonhg.NetBSD.org/src/rev/99d999d17ccb
branches:  trunk
changeset: 354745:99d999d17ccb
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 27 23:22:20 2017 +0000

description:
mention the limitation of the literal sequence delimiter.

diffstat:

 lib/libedit/editline.3 |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c443c6a8cdc1 -r 99d999d17ccb lib/libedit/editline.3
--- a/lib/libedit/editline.3    Tue Jun 27 13:54:56 2017 +0000
+++ b/lib/libedit/editline.3    Tue Jun 27 23:22:20 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: editline.3,v 1.94 2017/06/27 01:22:58 kre Exp $
+.\"    $NetBSD: editline.3,v 1.95 2017/06/27 23:22:20 christos Exp $
 .\"
 .\" Copyright (c) 1997-2014 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -26,7 +26,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd May 22, 2016
+.Dd June 27, 2017
 .Dt EDITLINE 3
 .Os
 .Sh NAME
@@ -358,6 +358,8 @@
 A subsequent second start/stop literal character ends this behavior.
 This is typically used to embed literal escape sequences that change the
 color/style of the terminal in the prompt.
+Note that the literal escape character cannot be the last character in the
+prompt, as the escape sequence is attached to the next character in the prompt.
 .Dv 0
 unsets it.
 .It Dv EL_REFRESH



Home | Main Index | Thread Index | Old Index