aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/man.c
diff options
context:
space:
mode:
authorJarno Mäkipää <jmakip87@gmail.com>2019-09-13 20:14:32 +0300
committerRob Landley <rob@landley.net>2019-09-19 09:20:04 -0500
commita43497b523ae7db08908d3113f003c6df5e83aea (patch)
tree387d7bfc184ae854029a4bc560042b3f86276603 /toys/pending/man.c
parent139faf5195ce521fbef946de6b807642d1cb463e (diff)
downloadtoybox-a43497b523ae7db08908d3113f003c6df5e83aea.tar.gz
vi: changes to buffer drawing
Replaced: draw_str_until with lib/crunch_str() where possible Removed: Unused char draw functions. Implemented: crunch_nstr() which is crunch_str with additional check for byte length, this can be used to draw substrings or non null terminated strings. (This can be moved to lib/ if its useful for others) Reimplemented: Buffer drawing without line wrapping. Now too long lines are drawn with @ in end. And cursor line scrolls left and right when hitting right margin point. This will simplify buffer handling alot. Linewrapping can be reimplemented later if needed but will add complexity Implemented: set list and set nolist ex commands, set list will show escape codes such as tabs Fix: Bug on splitting 2 lines, split was 1 byte off.
Diffstat (limited to 'toys/pending/man.c')
0 files changed, 0 insertions, 0 deletions