measure rune width
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
support ascii color escapes
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
Minor for-each changes
Signed-off-by: Drew DeVault <sir@cmpwn.com>
fix scrollup
before this,
pageup would stop at the second page (ie not reach the first one).
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
impl action_bottom
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
don't skip non-ascii characters
eg ù, à
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
add HOME and END keys
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
update for stdlib changes
Signed-off-by: Curtis Arthaud <uku82@gmx.fr>
(mostly) fix scrolling up from EOF
most: implement scrolling up
This only works on seekable files. TODO: Implement read caching overlay
stream which makes non-seekable streams seekable by stashing reads in
memory.
Add more scroll down bindings
refactor line drawing and add configuration
Draw ellipsis at end of long lines