diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-15 19:14:40 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-15 19:14:40 -0300 |
commit | 4d10bce15ce052e364392d94c3a3a0af602b8e25 (patch) | |
tree | f82da9c91ea3dcc278d7717a88e2a6467ab40b7d /client.cpp | |
parent | 2397212c306c63a5887ff67cc56ffae68d055d2f (diff) | |
download | jet-4d10bce15ce052e364392d94c3a3a0af602b8e25.tar.gz jet-4d10bce15ce052e364392d94c3a3a0af602b8e25.zip |
Show cursor and update it when moving
Diffstat (limited to 'client.cpp')
-rw-r--r-- | client.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -52,11 +52,7 @@ struct Client { Point window_end(window_start); for (int i = 0; i < window_h; i++) { for (int j = 0; j < window_w; j++) { - if (window_end == cursor) { - view[pos(j, i)] = '$'; - } else { - view[pos(j, i)] = window_end.element(); - } + view[pos(j, i)] = window_end.element(); if (window_end.element() == '\n') { for (int k = j + 1; k < window_w; k++) { view[pos(k, i)] = 0; |