From f333658aa8be007128472b66291124c348e935ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Manuel=20Tom=C3=A1s?= Date: Tue, 7 Jul 2020 19:09:43 -0300 Subject: Ignore jet2 --- jet2.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'jet2.cpp') 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); -- cgit v1.2.3