aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-02 19:43:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-02 19:43:49 +0000
commitdd4647e9ff792c93e596af87b9ff762e5d4580b4 (patch)
tree50452e43e4b08a8239ea36265382d6c1beddd2b7 /main.c
parentterm: if the damage list gets too long, replace with a full redraw (diff)
term: simplify horizontal cursor movement
Since horizontal cursor movement is clamped to the current line, we can calculate the new linear cursor without any expensive multiplications and/or divisions.
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions