less: somewhat buggy applet, but nice. Muchly reduced
xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce).
This commit is contained in:
@@ -133,6 +133,11 @@ config LESS
|
||||
'less' is a pager, meaning that it displays text files. It possesses
|
||||
a wide array of features, and is an improvement over 'more'.
|
||||
|
||||
config FEATURE_LESS_MAXLINES
|
||||
int "Max number of input lines less will try to eat"
|
||||
default 9999999
|
||||
depends on LESS
|
||||
|
||||
config FEATURE_LESS_BRACKETS
|
||||
bool "Enable bracket searching"
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user