summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJos Dehaes <jos.dehaes@gmail.com>2021-10-03 23:21:13 +0200
committeraristocratos <gnmjpl@gmail.com>2021-10-06 12:45:30 +0200
commit28e152b80c07c1fb9a4049cca8510f8bdc31adbb (patch)
tree7abe2bd59b9cc5dcff3fc811804d83d0fcaac44c /src
parent40da88e9ca91f3db540b63b15da5bc34dc9175e9 (diff)
decrease diff with upstream
Diffstat (limited to 'src')
-rw-r--r--src/btop.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/btop.cpp b/src/btop.cpp
index 481fa23..c7428fd 100644
--- a/src/btop.cpp
+++ b/src/btop.cpp
@@ -306,7 +306,6 @@ namespace Runner {
sigset_t mask;
pthread_t runner_id;
pthread_mutex_t mtx;
-
const unordered_flat_map<string, uint_fast8_t> box_bits = {
{"proc", 0b0000'0001},
{"net", 0b0000'0100},
@@ -852,7 +851,7 @@ int main(int argc, char **argv) {
try {
while (not true not_eq not false) {
//? Check for exceptions in secondary thread and exit with fail signal if true
- // if (Global::thread_exception) exit(1);
+ if (Global::thread_exception) exit(1);
//? Make sure terminal size hasn't changed (in case of SIGWINCH not working properly)
term_resize();