Jack Wills
c74f6c1179
refactor: enable_mouse_capture() moved into Ui struct
2023-03-02 04:10:38 +00:00
Jack Wills
9d2e72086b
docs: comment typos
2023-03-02 03:54:55 +00:00
Jack Wills
93f7c07f70
fix: nullify_event_read(), mouse event output fix
2023-03-02 03:48:21 +00:00
Jack Wills
495d5ae789
docs: changelog
2023-03-02 03:20:35 +00:00
Jack Wills
0a1b531116
feat: Acutal fix the the mouse events output
...
The EnableMouseCapture from Crossterm was too broad, by only enabling a subject of the events, 1) performance is improvedand 2) and intermittent bug where mouse events were output to stdout has been removed
2023-03-02 01:09:17 +00:00
Jack Wills
ec962295a8
docs: comments improved
2023-03-01 21:33:58 +00:00
Jack Wills
b8f5792d18
refactor: dead code removed
2023-03-01 19:18:36 +00:00
Jack Wills
28de74b866
feat: style help info box
...
Style each button comman in the help information window, instead of just one giant string.
Now uses a HelpInfo struct, which contains the content, as well as widths + height
2023-03-01 19:18:19 +00:00
Jack Wills
3437df5988
refactor: ui into a struct
2023-02-28 19:48:49 +00:00
Jack Wills
31bfaa7a95
wip: fix for mouse capture bug
2023-02-28 04:10:31 +00:00
Jack Wills
846e0641d0
wip: mouse capture errors
2023-02-27 19:52:03 +00:00
Jack Wills
72279e26ae
feat: use checked_sub & checked_div for bounds checks
2023-02-27 15:25:18 +00:00
Jack Wills
e8f5cf9c6f
refactor: get_horizotal/vertical contraints into single method
2023-02-27 14:50:04 +00:00
Jack Wills
b6c3ce21ca
fix: move final stout flush to main.rs
2023-02-27 02:56:38 +00:00
Kian-Meng Ang
a0e2eb38ae
docs: fix typos
...
Found via `typos --format brief`
2023-02-03 10:21:16 +08:00
Jack Wills
d7a8639d8b
docs: changelog
2023-01-29 02:12:02 +00:00
Jack Wills
c0bb5355d6
refactor: app_data methods re-ordered & renamed
2023-01-29 01:52:38 +00:00
Jack Wills
68e444bfc3
fix: deadlock on draw logs when no containers found
2023-01-28 21:53:21 +00:00
Jack Wills
c4d80061da
revert: is_running AtomicBool back to SeqCst
2023-01-28 20:45:02 +00:00
Jack Wills
b4488e4bdb
refactor: major refactor of internal data handling
...
What started off as an inquisitive look at how the gui drawing blocks get the data they require in order to draw to the screen, ended up as a realisation that it could be achieved in a better manner. Basically just use x.get(y), instead of using x[y] all over the place
2023-01-28 20:44:09 +00:00
Jack Wills
93dbc614d1
chore: release v0.2.0
2023-01-21 22:20:40 +00:00
Jack Wills
51c580010a
fix: memory column aligned, closes #20
2023-01-18 02:06:05 +00:00
Jack Wills
9dcd0509ef
refactor: derive Default for GuiState
2023-01-18 02:01:01 +00:00
Jack Wills
bd7dfcd2c5
feat: align memory columns correctly, closes #20
...
use kB as minimum bytestats unit, screenshot updated
2023-01-14 18:01:38 +00:00
Jack Wills
0350293de3
refactor: param reduction, AtomicBool to Relaxed
2023-01-14 17:59:33 +00:00
Jack Wills
46d4e5a832
chore: release v0.1.10
2022-12-25 15:48:57 +00:00
Jack Wills
bf9dcac704
chore: Rust 1.66 linting
2022-12-15 16:34:24 +00:00
Jack Wills
7899b77356
fix: comment typo
2022-12-09 03:49:46 +00:00
Jack Wills
57c3a6c186
refactor: remove_ansi to single liner
2022-12-09 03:42:57 +00:00
Jack Wills
a98e8b7260
chore: cargo fmt
2022-10-16 00:00:41 +00:00
Jack Wills
9e9d51559a
feat: use gui_status for various gui states
2022-10-15 00:23:26 +00:00
Jack Wills
90e26c300e
wip: gui_status, should use a hashset?
2022-10-14 21:26:20 +00:00
Jack Wills
67c4957568
feat: terminal.clear() after run_app
2022-10-13 17:45:29 +00:00
Jack Wills
ea08a12246
fix: comment typo
2022-10-13 02:33:32 +00:00
Jack Wills
59797685df
fix: loading icon color & shifting, closes #15
2022-10-13 02:33:05 +00:00
Jack Wills
62fb224786
refactor: String::from("") > String::new()
2022-10-07 03:04:06 +00:00
Jack Wills
a77f690a49
refactor: replace iter() to into_iter(), and remove useless .iters()'s
2022-10-07 02:43:04 +00:00
Jack Wills
3e26f292c7
refactor: map_or_else to map_or
2022-10-07 01:45:01 +00:00
Jack Wills
c41c0e4954
fix: color match bg/fg mix
2022-10-07 01:43:08 +00:00
Jack Wills
f12a83056b
refactor: Paragraph::new from str, rather than variable declaration
2022-10-02 01:46:15 +00:00
Jack Wills
6bee4d007a
refactor: clone()'s removed, allow(precision_loss)
2022-10-02 01:14:42 +00:00
Jack Wills
f5fc446295
refactor: use map_or_else
2022-10-02 00:31:01 +00:00
Jack Wills
a7b8df6b21
refactor: derive Default for CpuStats + ByteStats
2022-10-01 23:40:25 +00:00
Jack Wills
31fb2cb1e6
fix: u16::try_from for text widths
2022-10-01 23:28:08 +00:00
Jack Wills
6731002ee4
refactor: remove pointless clone()'s & variable declarations
2022-10-01 21:02:38 +00:00
Jack Wills
e76878f424
refactor: Impl Copy where able to
2022-10-01 19:57:27 +00:00
Jack Wills
37d8791672
chore: comment typos
2022-09-19 21:59:09 +00:00
Jack Wills
76677316fd
chore: release v0.1.4
2022-09-07 14:53:01 +00:00
Jack Wills
66583e1b03
feat: is_loading use HashSet<Uuid>
...
each set loading function uses a unique uuid, so that the loading animation will always be played, previously would stop on any remove_loading call
2022-09-07 14:33:03 +00:00
Jack Wills
34275b0220
refactor: gui const fn's take self
2022-09-07 13:59:40 +00:00