ClementTsang
ce9b5372d9
Use max grapheme length rather than max "string" length.
2020-02-27 16:15:28 -05:00
ClementTsang
a755a5d41c
Switch to using unicode_segmentation's cursor as a basis on how we do cursor movement in search.
2020-02-27 16:10:33 -05:00
ClementTsang
0660184099
Colours if selected and F1-3 keys for search options
...
Added different colours to search options if selected; added F1-3 keys as an alternative for searching. Both are available, but on macOS F1-3 will be suggested instead.
2020-02-25 21:24:31 -05:00
ClementTsang
ceaedad6dc
Skip control characters if they are somehow passed in as a char to on_char_key.
2020-02-24 20:07:38 -05:00
ClementTsang
67c6984406
Pretty sure I fixed scroll resizing...
2020-02-19 19:56:18 -05:00
ClementTsang
8cf5b42f29
Update cargo.toml, some todos
2020-02-19 00:16:40 -05:00
ClementTsang
2135ebbef1
Aaaaand revert again.
2020-02-19 00:06:36 -05:00
ClementTsang
2f59af412d
Tons of refactoring and fixes.
...
* Fixed a bunch of previously introduced bugs. Oops.
* Some minor refactoring/efficiency changes that *should* help. Should.
2020-02-17 22:59:35 -05:00
ClementTsang
8e1c525e2a
Fix issue introduced with searching and ctrl-u
2020-02-17 18:13:31 -05:00
ClementTsang
b3eafe711e
Fix issue introduced with last commit on searching.
2020-02-17 17:53:49 -05:00
ClementTsang
4485d1b380
Some clippy and refactoring.
2020-02-17 17:42:51 -05:00
ClementTsang
c669b5337c
Add ability to still show data entries in the legend even if line is disabled.
2020-02-17 12:07:43 -05:00
ClementTsang
b80259d4d2
Add ctrl-u, update in-program docs
2020-02-17 00:20:22 -05:00
ClementTsang
9fcbff99a3
Update GIF, add DELETE key to search options.
2020-02-16 21:54:29 -05:00
ClementTsang
65634f23d4
Not implementing mem and network for now... sorry.
2020-02-16 19:50:10 -05:00
ClementTsang
01b1ec8380
Disabled for now...
2020-02-16 19:45:31 -05:00
ClementTsang
32e8be93b7
CPU title bar and esc sequencing.
2020-02-16 19:32:21 -05:00
ClementTsang
8a718080a5
CPU specific line filtering added.
2020-02-16 17:48:24 -05:00
ClementTsang
74df90010d
Some basic setup for adding graph filtering; added delete key to allow dd-ing, some refactoring.
2020-02-16 15:25:52 -05:00
ClementTsang
882e5d9289
More minor refactoring to generalize the app search state struct.
2020-02-15 20:25:32 -05:00
ClementTsang
4dc5a3f6d4
Minor refactoring again.
2020-02-15 20:16:05 -05:00
ClementTsang
51761400ce
Some minor refactoring; added a quick skip for invalid or blank searches
2020-02-15 20:01:59 -05:00
ClementTsang
05acba2f47
Fixed issue with HJKL keys interfering with search widget. Oops!
2020-02-15 17:34:59 -05:00
ClementTsang
fe5f911ad3
Added ability to set default highlighted widget.
2020-02-13 21:06:11 -05:00
ClementTsang
f0dad8f5bf
Added maximizing mode to allow users to zoom into a particular widget. Not 100% done.
2020-02-12 00:35:37 -05:00
ClementTsang
60b6a0911a
Major refactoring to appease clippy; potential reintroduction of hjkl keys to navigate widgets...
2020-02-10 00:16:11 -05:00
ClementTsang
fac67e00ae
Split up help screen into categories, hopefully this makes it easier to spot what you are looking for
2020-02-09 19:17:59 -05:00
ClementTsang
909fbd3571
Made the dd screen prettier.
2020-02-09 17:11:57 -05:00
ClementTsang
2123becb81
Added colour options to config; updated sample config to reflect this; updated README
2020-02-08 14:28:19 -05:00
ClementTsang
0a13d75415
Made search drawing on canvas a bit more efficient if possible, fixed app positionings due to search repositioning
2020-02-02 23:50:18 -05:00
ClementTsang
616ba01be0
Added flag functionality, made case insensitive default from now on
2020-02-02 23:25:15 -05:00
ClementTsang
fc3a2e69ec
Made search look prettier and organized it a bit... also added match whole word functionality.
2020-02-02 23:15:28 -05:00
ClementTsang
1b09133e3b
Refactor i64 to u64 for position
2020-02-02 14:22:16 -05:00
ClementTsang
853ce3c736
Move ignore case to tab
2020-02-02 00:55:57 -05:00
ClementTsang
3327087443
Fix dd with new changes
2020-02-02 00:52:41 -05:00
ClementTsang
0ab4b7f7cc
Fix process searching while scrolling... that was broken for a while, I guess
2020-02-02 00:24:00 -05:00
ClementTsang
0bf7f32473
Optimizing processes...
2020-02-01 23:49:44 -05:00
ClementTsang
abe8a4bb86
Moved temp and drives over...
2020-01-28 21:24:52 -05:00
ClementTsang
57aa15978c
Moved CPU over
2020-01-26 20:14:14 -05:00
ClementTsang
13f6dfc529
Reworked network again; will use this to change all widgets
2020-01-25 16:36:14 -05:00
ClementTsang
c0df2e6c33
Only generate regexes during regex mode
2020-01-21 22:48:56 -05:00
ClementTsang
4c7b3ee239
Add Ctrl-A and Ctrl-E for searching to skip around to start and end respectively.
2020-01-17 19:53:42 -05:00
ClementTsang
7e442330ba
Add support for searching while frozen
2020-01-17 19:19:20 -05:00
ClementTsang
40be97eaf4
Add basic cursor movement + visuals + control to search
...
Add basic cursor movement + control to search
2020-01-16 21:53:22 -05:00
ClementTsang
a4badebd73
Added in-program hotkey (Ctrl-S) to switch search levels, need to add some GUI indication. Also made it so that you don't need ENTER anymore to search... will monitor and test how this affects performance.
2020-01-15 22:57:00 -05:00
ClementTsang
5d0c8a9f32
Note this is not 100% complete - there's some nasty code used to just get functionality down. Simple search option added, flag added, no way of switching in-program yet however.
2020-01-15 22:50:11 -05:00
ClementTsang
bd356a851b
Regex filter added. This is a very rudimentary implementation, but I feel it's good enough for now.
2020-01-12 18:45:11 -05:00
ClementTsang
2bb1333d04
Mostly done the base display and control logic for search, now need to implement search filter logic
2020-01-12 15:41:27 -05:00
ClementTsang
ffafba2374
Adding documentation to search feature.
2020-01-12 14:25:47 -05:00
ClementTsang
545cb8b8b1
Change of hjkl navigation and removal of q to quit (replaced by Ctrl-[char]) variants. This is required for a less confusing use of upcoming search functionality
2020-01-12 13:15:49 -05:00