Add support to change numeric options in settings screen

Like delay or highlightDelaySecs
This commit is contained in:
Christian Göttsche
2020-11-21 21:40:08 +01:00
committed by cgzones
parent adf9185209
commit 267014cbfe
12 changed files with 330 additions and 153 deletions

2
htop.c
View File

@ -304,7 +304,7 @@ int main(int argc, char** argv) {
settings->direction = 1;
}
CRT_init(settings->delay, settings->colorScheme, flags.allowUnicode);
CRT_init(&(settings->delay), settings->colorScheme, flags.allowUnicode);
MainPanel* panel = MainPanel_new();
ProcessList_setPanel(pl, (Panel*) panel);