Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve a problem in F2/Setup update interval adjustments
The halfdelay(3X) curses function ultimately drives the update interval that htop samples values and refreshes at. This is a bit complicated by interrupts generated from other places (key or mouse events), however if halfdelay is not explicitly called at some point soon after changing the interval it does not get correctly updated during that session. Since the delay setting is persisted, on restart htop actually does honour the change from the previous invocation, confusing the situation even further. With this commit the update is reflected immediately in the UI as well now. Fixes: #1510
- Loading branch information