commit 8461c35b9151418b3839c60b23931dce132d3062
parent 13866de692b5b98f10f6d18f005c11d357525c48
Author: Claudio Alessi <smoppy@gmail.com>
Date: Sun, 27 Jan 2019 11:47:00 +0100
Switch to 2019
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/LICENSE b/LICENSE
@@ -1,6 +1,6 @@
MIT/X Consortium License
-© 2017-2018 Claudio Alessi <smoppy at gmail dot com>
+© 2017-2019 Claudio Alessi <smoppy at gmail dot com>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
diff --git a/globox.c b/globox.c
@@ -676,7 +676,6 @@ setup(void) {
sigemptyset(&sa.sa_mask);
sa.sa_handler = sigwinch;
sigaction(SIGWINCH, &sa, NULL);
-
tcgetattr(0, &origti);
cfmakeraw(&ti);
ti.c_iflag |= ICRNL;
@@ -684,7 +683,6 @@ setup(void) {
ti.c_cc[VTIME] = 0;
tcsetattr(0, TCSAFLUSH, &ti);
printf(CURSOFF);
-
ioctl(0, TIOCGWINSZ, &ws);
resize(ws.ws_row, ws.ws_col);
}