summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rwxr-xr-xjet2bin23768 -> 0 bytes
-rw-r--r--jet2.cpp4
4 files changed, 3 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 2edc120..a73d53b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
jet
+jet2
diff --git a/Makefile b/Makefile
index 179f7b1..c4d3e50 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
FLAGS=-ggdb -O0 -lcurses $(shell ncursesw6-config --cflags --libs)
-_PHONY:all
+_PHONY=all
all:jet jet2
diff --git a/jet2 b/jet2
deleted file mode 100755
index aeb3f78..0000000
--- a/jet2
+++ /dev/null
Binary files differ
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);