Thomas Graf
4efaa8ce9e
curses: Add ability to reset statistics
...
Press 'r' in curses mode to reset a statistic counter to
start counting from 0 again. This does NOT reset the
counter from the source itself but merely emulates a
counter reset. If you restart bmon, the counter will be
back to its total value.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2016-01-29 12:11:44 +01:00
Thomas Graf
0641291ad5
curses: Pass in proper NULL pointer
...
Fix sparse warning:
out_curses.c:433:25: warning: Using plain integer as NULL pointer
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 14:01:51 +01:00
Thomas Graf
f666ffd0b7
curses: Make float2str static
...
Fix sparse message:
out_curses.c:140:6: warning: symbol 'float2str' was not declared. Should it be static?
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 14:00:39 +01:00
Thomas Graf
a36136ec4d
Annotate unused variables
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
9d89c5bc8e
curses: Handle out of memory return value of of vasprintf()
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 22:11:32 +02:00
Thomas Graf
3cff7715ce
curses: Check if value is provided for ngraph
...
Fixes: CID 49001
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 20:48:12 +02:00
Thomas Graf
afb5db14c8
curses: Fix '?' to toggle quick help
...
Previously, pressing '?' only made the quick help appear but not
disappear again.
Reported-by: Bill [github id "broomdodger"]
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 14:05:42 +02:00
Thomas Graf
fd461f6568
curses: only initialize curses module if actually being used
...
Fixes display problems with plain ascii output
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-08 15:22:00 +02:00
Thomas Graf
2c047d2af3
curses: Use RARROW to mark selected item
2013-07-13 12:48:37 +02:00
Thomas Graf
3be703f67d
Initial import
2013-07-05 15:11:46 +02:00