Commit graph

6 commits

Author SHA1 Message Date
b71541c847 Add scrolloff option (similar to vim) 2019-06-08 09:10:59 +00:00
bb6d7830ea Implement cursor movement 2019-06-08 09:10:59 +00:00
dd6ad51077 Implement scrolling for cursor tree 2019-06-08 09:10:59 +00:00
5e10fcecac Fix various small things
A commit that fixes all of the little things I forgot about, but that
are necessary for rendering to function properly.

- (attr. lines) reverse lines before extending above
- (attr. lines) clamp the AttributedLine offset so that there is always
  a line with offset 0
- (tree renderer) use meta spaces for the cursor too
- (tree renderer) use correct indent text for cursor
- (tree renderer) fix mypy error by safely ignoring it
- (supply) sort by root id instead of value
- (supply) return id, not list of ids
2019-06-08 09:10:59 +00:00
5a606a9191 Implement missing cursor tree rendering methods 2019-06-08 09:10:59 +00:00
dec73f183f Implement tree rendering with cursor 2019-06-08 09:10:59 +00:00