diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-01-10 10:13:17 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-01-10 10:13:17 +0100 |
commit | 3e434c89de052c1909952746368e837fb68e0ae2 (patch) | |
tree | 9084824b4ae06233be9ddf3ae30cda4624666ba8 /buffer.h | |
parent | 121baddb4cd919d98bf5dfea0ad78ca0bee58a2e (diff) |
Move downward
Diffstat (limited to 'buffer.h')
-rw-r--r-- | buffer.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -34,9 +34,18 @@ class Buffer{ }; Cursorpos cursor={0,0}; + struct Screenpos{ + i64 y,x; + }; + vector<ScreenLine> layoutLine(const string &line,i64 linenum,i64 width); void performInitialLayout(i64 width,i64 height); void renewLayout(i64 topLine,i64 topPart,i64 width,i64 height); + void relayoutScreen(); + + Screenpos findCursorInScreen() const; + + void handleCommand(const Command &cmd); public: string filename; |