From 5ff0b55cd6a1c39f3d711036319244e18151d46f Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 11 Jun 2009 11:51:30 +0200 Subject: [PATCH] When using the -x option, the part of the line before the separator is not returned. --- REVISION_NUMBER | 2 +- selector.1 | 8 ++++---- selector.cc | 20 +++++++++++++++----- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/REVISION_NUMBER b/REVISION_NUMBER index 1b9cba4..492dff0 100644 --- a/REVISION_NUMBER +++ b/REVISION_NUMBER @@ -1 +1 @@ -151 +152 diff --git a/selector.1 b/selector.1 index 8ca04cd..11edc9f 100644 --- a/selector.1 +++ b/selector.1 @@ -17,9 +17,9 @@ line into the virtual tty input buffer, hence allowing the user to edit the line and execute it as a standard command. Selector is also a good tool to test regexps, or a way to display -menus. The -x option allows to specify a label delimiter: Only the -part of each line before that character will appear during the -selection, but the full line will be returned. +menus. The -x option allows to specify a label delimiter: the part of +each line before that character will appear during the selection, and +the part after that character will be returned. .SH "KEYS" .PP @@ -79,7 +79,7 @@ write the selected line into the specified file specify the symbol to separate the substrings in the search pattern .IP "\fB-x