mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
vi: change MAX_LINELEN meaning: now it is the biggest supported
screen wigth. Introduce MAX_TABSTOP and MAX_INPUT_LEN. Fix redraw of very long lines and cursor movement past NULs.
This commit is contained in:
parent
ee87ebf381
commit
88adfcd178
@ -90,14 +90,13 @@ config VI
|
||||
you may wish to use something else.
|
||||
|
||||
config FEATURE_VI_MAX_LEN
|
||||
int "Maximum line length in vi"
|
||||
int "Maximum screen width in vi"
|
||||
range 256 16384
|
||||
default 1024
|
||||
default 4096
|
||||
depends on VI
|
||||
help
|
||||
vi uses on-stack buffers for intermediate line buffers.
|
||||
You may want to decrease this parameter if your target machine
|
||||
benefits from smaller stack usage.
|
||||
Contrary to what you may think, this is not eating much.
|
||||
Make it smaller than 4k only if you are very limited on memory.
|
||||
|
||||
config FEATURE_VI_COLON
|
||||
bool "Enable \":\" colon commands (no \"ex\" mode)"
|
||||
|
619
editors/vi.c
619
editors/vi.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user