Joachim Nilsson
ddf1bce642
Add screen_exit() fn to restore screen defaults in debug mode
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-01-23 09:31:44 +01:00
Joachim Nilsson
f11ebb0046
New function, strtobytes(), allows k/M/G ISO size modifiers
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2018-01-15 19:42:33 +01:00
Joachim Nilsson
f6fa576270
New functions: jiffies() and uptime(), implemented with sysinfo()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-12-31 18:28:29 +01:00
Joachim Nilsson
14ee218443
Refactor, use libite (-lite) version of initscr()
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-09 16:25:22 +02:00
Joachim Nilsson
be6f0de0df
Add util.c:screen_init() to probe screen size once per boot
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-04 20:58:43 +02:00
Joachim Nilsson
90793c71a2
util: Import screen_width() developed for the SMCRoute project
...
This patch introduces the screen_width() method from the SMCRoute
project. The code is hereby also available under MIT/X11.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-07-04 12:53:19 +02:00
Joachim Nilsson
fff68b7b06
Relocate source files to an src/ subdirectory
...
Signed-off-by: Joachim Nilsson <troglobit@gmail.com >
2017-01-16 01:31:02 +01:00