summaryrefslogtreecommitdiff
path: root/client.cpp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-16 21:17:16 -0300
committerGitHub <noreply@github.com>2020-07-16 21:17:16 -0300
commite3d20a08ffb3037beb63deea6c99490e2a24aa89 (patch)
tree05643f0a82db0a1f622dac6030b7d4bbc50e21c7 /client.cpp
parent2397212c306c63a5887ff67cc56ffae68d055d2f (diff)
parent905ae13aa12abc3fbbafc646a722b2d38bbeef8f (diff)
downloadjet-e3d20a08ffb3037beb63deea6c99490e2a24aa89.tar.gz
jet-e3d20a08ffb3037beb63deea6c99490e2a24aa89.zip
Merge pull request #17 from jmtomas/5
Diffstat (limited to 'client.cpp')
-rw-r--r--client.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/client.cpp b/client.cpp
index 80d784c..bed62c5 100644
--- a/client.cpp
+++ b/client.cpp
@@ -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;