diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-25 15:18:20 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-25 15:18:20 +0200 |
commit | 4e552a70ec00e4eb9bb0bcde95688ddb3c4fcefe (patch) | |
tree | f39123cd092c53644788dea0636cfe155d4e8cb3 /editors | |
parent | be391e759675b23ccf6e19cb6ea5b819840f3026 (diff) | |
download | busybox-w32-4e552a70ec00e4eb9bb0bcde95688ddb3c4fcefe.tar.gz busybox-w32-4e552a70ec00e4eb9bb0bcde95688ddb3c4fcefe.tar.bz2 busybox-w32-4e552a70ec00e4eb9bb0bcde95688ddb3c4fcefe.zip |
less: optionally query terminal size via "ESC [ 6 n". Closes bug 2659.
+7 bytes is not selected, +100 if selected.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c index 55092f921..96a0c8df7 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -132,8 +132,8 @@ | |||
132 | //config: help | 132 | //config: help |
133 | //config: If terminal size can't be retrieved and $LINES/$COLUMNS are not set, | 133 | //config: If terminal size can't be retrieved and $LINES/$COLUMNS are not set, |
134 | //config: this option makes vi perform a last-ditch effort to find it: | 134 | //config: this option makes vi perform a last-ditch effort to find it: |
135 | //config: vi positions cursor to 999,999 and asks terminal to report real | 135 | //config: position cursor to 999,999 and ask terminal to report real |
136 | //config: cursor position using "ESC [ 6 n" escape sequence, then reads stdin. | 136 | //config: cursor position using "ESC [ 6 n" escape sequence, then read stdin. |
137 | //config: | 137 | //config: |
138 | //config: This is not clean but helps a lot on serial lines and such. | 138 | //config: This is not clean but helps a lot on serial lines and such. |
139 | //config: | 139 | //config: |