diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | jet2 | bin | 23768 -> 0 bytes | |||
-rw-r--r-- | jet2.cpp | 4 |
4 files changed, 3 insertions, 4 deletions
@@ -1 +1,2 @@ jet +jet2 @@ -1,6 +1,6 @@ FLAGS=-ggdb -O0 -lcurses $(shell ncursesw6-config --cflags --libs) -_PHONY:all +_PHONY=all all:jet jet2 @@ -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); |