From 1fd625086ba42e9440c463ae940563d934b8b5c3 Mon Sep 17 00:00:00 2001 From: Jos Dehaes Date: Sun, 3 Oct 2021 23:21:13 +0200 Subject: [PATCH] decrease diff with upstream --- src/btop.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 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();