955 Commits

Author SHA1 Message Date
shilangyu
f0da30f2cb added missing endline 2020-02-29 13:06:49 +01:00
shilangyu
6a1fa8f379 rust fmt 2020-02-29 12:54:57 +01:00
shilangyu
622703f4b6 create config if doesnt exist 2020-02-29 12:49:56 +01:00
ClementTsang
c715133b4d Some more suggestions based on clion. Mostly removing brackets. 2020-02-28 22:39:26 -05:00
ClementTsang
75a1934420 rustfmt 2020-02-28 22:27:35 -05:00
ClementTsang
bbdd7786ce Optimized imports as per clion 2020-02-28 22:24:24 -05:00
ClementTsang
6d0136fa26 Remove a debug line. 2020-02-28 21:15:08 -05:00
ClementTsang
05d4982a1a Treat backspace as a cursor left movement. 2020-02-28 19:54:20 -05:00
ClementTsang
818d920835 Fixed cursor issue. 2020-02-28 01:12:24 -05:00
ClementTsang
3f55f071b7 Some minor things like adding a question template + removal of debug. 2020-02-27 22:50:43 -05:00
ClementTsang
09b7e5cb49 Switch to another arrow. 2020-02-27 18:25:08 -05:00
ClementTsang
b00740a7dd Added total rx + tx colouring options. 2020-02-27 17:54:39 -05:00
ClementTsang
b32d2dca26 Tiny formatting fix. 2020-02-27 17:42:34 -05:00
ClementTsang
cc751e19ae Fix issue with cursor on canvas due to not incrementing by the SIZE of the grapheme. 2020-02-27 17:15:09 -05:00
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
5d90c235eb Add space after arrow due for Konsole
Fix as per https://old.reddit.com/r/kde/comments/6fxf5t/konsole_font_issue/
2020-02-25 22:41:53 -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
Clement Tsang
138e9c2132
Merge pull request #27 from ClementTsang/fix_broken_shift
Fix for issue in powershell.
2020-02-24 22:15:05 -05:00
ClementTsang
fc52c579d3 Just make swap always display... I think it's fine to keep, even if it's 0. 2020-02-24 21:46:41 -05:00
ClementTsang
1c52587760 Fix alt key too... windows treats it as a CAPITAL. Go figure. 2020-02-24 21:37:36 -05:00
ClementTsang
2f7840568c Fix for issue in powershell.
Insure that this is tested on other systems first.  At least Linux.
2020-02-24 21:29:04 -05:00
ClementTsang
34b84d6b04 Add explicit lifetime parameters as per 2018 idioms. 2020-02-24 21:10:12 -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
59238c2687 Added named colour support + rgb colour support in config files. 2020-02-23 13:15:46 -05:00
ClementTsang
cefa227060 Re-added Red to default cpu pool... this does mean that there is a conflict with avg and cpu core 10, but eh... whatever I guess. 2020-02-23 00:31:35 -05:00
ClementTsang
a756c44c66 Support average cpu colour separately from others. Redid documentation. 2020-02-23 00:30:00 -05:00
ClementTsang
0697d9dd56 Fix issue with default file paths not being respected; updated default file paths. 2020-02-20 23:10:52 -05:00
ClementTsang
f4b7df139a Merge execute macro calls. 2020-02-20 01:19:26 -05:00
ClementTsang
efd74f6fb9 One last change, made head 2 colours const and shared. 2020-02-19 22:32:04 -05:00
ClementTsang
c377278974 [skip travis] Update documentation. 2020-02-19 22:21:18 -05:00
ClementTsang
c4cd43968e Increased number of default colours. 2020-02-19 22:07:51 -05:00
ClementTsang
1c1efcc714 Colour issue... on powershell. 2020-02-19 22:00:20 -05:00
ClementTsang
ae935b6f08 Change default colouring to be compatible on macOS default terminal. 2020-02-19 21:29:53 -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
bbd475cfdb Scroll bar fix v2, electric boogaloo 2020-02-18 23:33:15 -05:00
ClementTsang
e4597730bd Revert scroll fix. 2020-02-18 23:04:50 -05:00
ClementTsang
fd32de2774 Add default windows path. 2020-02-18 23:03:01 -05:00
ClementTsang
5131859ab8 Fix scroll problem with resizing/maximizing. 2020-02-18 23:02:52 -05:00
ClementTsang
47b78d22f8 Sanity checks as we approach release... bug patching:
* Fix for freeze not working (due to change with how we eat data)
* Fix for typos with newlines
* Made help box larger
* Made dd box larger
2020-02-17 23:48:27 -05:00
ClementTsang
48d2afc54a Tweak dot generation again... it was too sparse in some cases. 2020-02-17 23:22:03 -05:00
ClementTsang
40900d91ba Fix issue with missing CPU... 2020-02-17 23:15:14 -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
6dc78a0c0c Update how cpu disabling field looks. 2020-02-17 19:25:59 -05:00
ClementTsang
9b13ac1158 Skip 2 points to reduce CPU load. 2020-02-17 18:48:20 -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