summaryrefslogtreecommitdiff
path: root/jet2.cpp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-07 19:09:43 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-07 19:09:43 -0300
commitf333658aa8be007128472b66291124c348e935ea (patch)
tree8e76bb6ff151c0cdbfa74119cc14fc66546f2a6a /jet2.cpp
parent2260209d3b09f728f0cbb891f5498a9f0f8e38eb (diff)
downloadjet-f333658aa8be007128472b66291124c348e935ea.tar.gz
jet-f333658aa8be007128472b66291124c348e935ea.zip
Ignore jet2
Diffstat (limited to 'jet2.cpp')
-rw-r--r--jet2.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/jet2.cpp b/jet2.cpp
index 791bd14..729fbc7 100644
--- a/jet2.cpp
+++ b/jet2.cpp
@@ -43,9 +43,7 @@ int main(int argc, char *argv[]) {
write(s, msg, len);
read(s, view, window_width * window_height);
for (int i = 0; i < window_width * window_height; i++) {
- if (view[i]) {
- printw("%c", view[i]);
- }
+ printw("%c", view[i]);
}
memset(msg, 0, 32);