We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da85a1b commit 584e66bCopy full SHA for 584e66b
2 files changed
Makefile
@@ -49,7 +49,7 @@ MAIN_SOURCES = src/main/main.c src/main/cmds.c src/main/bindings.c src/main/sear
49
50
# HACK: added to MAIN_SOURCES to not be picked up in tests
51
# since they have their own implementation
52
-.if $(HAS_EPOLL) == true
+.if "$(HAS_EPOLL)" == true
53
MAIN_SOURCES += src/dged/reactor-epoll.c
54
.elif $(HAS_KQUEUE) == true
55
MAIN_SOURCES += src/dged/reactor-kqueue.c
src/dged/display.c
@@ -200,7 +200,7 @@ bool display_initialize(struct display *display) {
200
display->orig_term = orig_term;
201
202
// set terminal to raw mode
203
- struct termios term = {0};
+ struct termios term = orig_term;
204
cfmakeraw(&term);
205
206
if (tcsetattr(0, TCSADRAIN, &term) < 0) {
0 commit comments