From 414ff39c648ddaca4e7fde98bbc2c033f1e23d2d Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Mon, 25 May 2009 22:44:27 +0200 Subject: [PATCH] Added a label separator. Only the part of the line before it is shown. Fixed the control character bug (the returned line is not transformed to printable characters) and added two options: -x to specify the character to define the end of the label, and -w to add ^Q in between characters when doing tty injection. --- REVISION_NUMBER | 2 +- selector.1 | 4 +++ selector.cc | 73 +++++++++++++++++++++++++++++++++++-------------- 3 files changed, 58 insertions(+), 21 deletions(-) diff --git a/REVISION_NUMBER b/REVISION_NUMBER index c748b56..0d667b5 100644 --- a/REVISION_NUMBER +++ b/REVISION_NUMBER @@ -1 +1 @@ -147 +148 diff --git a/selector.1 b/selector.1 index 7df18a4..7c31364 100644 --- a/selector.1 +++ b/selector.1 @@ -67,10 +67,14 @@ add a title in the modeline select the modeline and highlight color numbers .IP "\fB-v\fP" 10 inject the selected line into the tty input buffer +.IP "\fB-w\fP" 10 +add ^Q between characters during tty injection to quote control characters .IP "\fB-o \fP" 10 write the selected line into the specified file .IP "\fB-s \fP" 10 specify the symbol to separate the substrings in the search pattern +.IP "\fB-x