mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-28 22:21:35 +02:00
decrease diff with upstream
This commit is contained in:
parent
40da88e9ca
commit
28e152b80c
@ -306,7 +306,6 @@ namespace Runner {
|
|||||||
sigset_t mask;
|
sigset_t mask;
|
||||||
pthread_t runner_id;
|
pthread_t runner_id;
|
||||||
pthread_mutex_t mtx;
|
pthread_mutex_t mtx;
|
||||||
|
|
||||||
const unordered_flat_map<string, uint_fast8_t> box_bits = {
|
const unordered_flat_map<string, uint_fast8_t> box_bits = {
|
||||||
{"proc", 0b0000'0001},
|
{"proc", 0b0000'0001},
|
||||||
{"net", 0b0000'0100},
|
{"net", 0b0000'0100},
|
||||||
@ -852,7 +851,7 @@ int main(int argc, char **argv) {
|
|||||||
try {
|
try {
|
||||||
while (not true not_eq not false) {
|
while (not true not_eq not false) {
|
||||||
//? Check for exceptions in secondary thread and exit with fail signal if true
|
//? 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)
|
//? Make sure terminal size hasn't changed (in case of SIGWINCH not working properly)
|
||||||
term_resize();
|
term_resize();
|
||||||
|
Loading…
Reference in New Issue
Block a user