diff options
author | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-07 19:09:43 -0300 |
---|---|---|
committer | Juan Manuel Tomás <jtomas1815@gmail.com> | 2020-07-07 19:09:43 -0300 |
commit | f333658aa8be007128472b66291124c348e935ea (patch) | |
tree | 8e76bb6ff151c0cdbfa74119cc14fc66546f2a6a | |
parent | 2260209d3b09f728f0cbb891f5498a9f0f8e38eb (diff) | |
download | jet-f333658aa8be007128472b66291124c348e935ea.tar.gz jet-f333658aa8be007128472b66291124c348e935ea.zip |
Ignore jet2
-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); |