Commit graph

131 commits

Author SHA1 Message Date
Orhun Parmaksız f2145cb9ca
feat(app): support KERNEL_DOCS variable for specifying the documentation path 2022-03-18 02:20:24 +03:00
Orhun Parmaksız cc76d35916
refactor(tui): initialize sysctl controller before terminal 2022-03-18 01:05:28 +03:00
Orhun Parmaksız 0043f4a669
fix(tui): allow setting values that have whitespace 2022-03-15 01:31:38 +03:00
Orhun Parmaksız bc89d22c25
fix(tui): do not hide options menu while running commands via prompt 2022-03-15 01:20:35 +03:00
Orhun Parmaksız dd1f5e9d59
feat(tui): support pressing q to exit 2022-03-15 01:14:12 +03:00
Orhun Parmaksız 1669e56a08
refactor(tui): update the commands for exiting 2022-03-15 01:05:59 +03:00
Orhun Parmaksız 932ad2a893
fix(tui): update only parameter values on refresh command 2022-03-08 00:28:12 +03:00
Orhun Parmaksız f6c5b10bab
chore(project): add rust-version key to project manifests 2022-03-05 20:05:54 +03:00
Orhun Parmaksız 3822903211
chore(project): update cargo manifests 2022-03-01 02:34:39 +03:00
Orhun Parmaksız 6fa5573855
docs(project): add crate descriptions 2022-02-28 00:24:45 +03:00
Orhun Parmaksız 61bef2dc60
docs(project): license under MIT or Apache 2.0 2022-02-20 05:09:00 +03:00
Orhun Parmaksız 3aff544216
refactor(lib): use transparent error types instead of self-referring 2022-02-15 03:44:05 +03:00
Orhun Parmaksız 0d82705d1c
refactor(tui): construct styles using the style module 2022-02-15 03:40:14 +03:00
Orhun Parmaksız 95a8f2e5ef
feat(tui): support custom terminal colors 2022-02-15 03:19:14 +03:00
Orhun Parmaksız f40b76738e
style(tui): use consistent text colors for widgets 2022-02-14 18:09:03 +03:00
Orhun Parmaksız 2084326481
feat(tui): add help/key bindings screen 2022-02-08 17:08:49 +03:00
Orhun Parmaksız 77d59e82ae
refactor(tui): use alias while importing TableState 2022-02-08 16:49:30 +03:00
Orhun Parmaksız 89c948d4a1
chore(project): add repository section to manifests 2022-02-08 16:41:37 +03:00
Orhun Parmaksız 5990e71d81
feat(tui): add 's' key binding for search 2022-02-08 01:25:04 +03:00
Orhun Parmaksız 88f6e3ba56
feat(tui): show help when F1 is pressed 2022-02-08 00:45:22 +03:00
Orhun Parmaksız df0a3f742f
fix(test): remove ctrl-d test from command tests 2022-02-07 20:32:17 +03:00
Orhun Parmaksız fee2070a91
feat(tui): exit on ctrl-d 2022-02-07 20:30:51 +03:00
Orhun Parmaksız f3d8bf3888
refactor(tui): split exit functionality into exit and cancel commands 2022-02-07 20:27:39 +03:00
Orhun Parmaksız 28593c1356
feat(tui): support vim-like keys for navigation 2022-02-07 20:15:57 +03:00
Orhun Parmaksız 99c2394345
refactor(tui): use more intuitive direction for section scroll 2022-02-07 19:27:58 +03:00
Orhun Parmaksız 4bf1f86fc2
refactor(tui): use generic backend for running 2022-02-02 03:27:33 +03:00
Orhun Parmaksız e6d018ee44
test(tui): add test for tui entry point 2022-02-02 03:11:14 +03:00
Orhun Parmaksız 1dc3f6ea05
test(tui): update integration tests about section text 2022-02-02 01:35:59 +03:00
Orhun Parmaksız 53c82999c0
style(tui): updating spacing for section text 2022-02-02 01:35:26 +03:00
Orhun Parmaksız 21b3aed659
refactor(tui): use Direction enum for indicating the cursor position 2022-01-30 18:55:10 +03:00
Orhun Parmaksız f351b80906
test(tui): disable clipboard for tests 2022-01-30 16:17:23 +03:00
Orhun Parmaksız 7cb4c6a03f
test(tui): add integration tests 2022-01-30 15:09:09 +03:00
Orhun Parmaksız 198920e9ab
fix(tui): hide options menu except navigation and selection 2022-01-30 15:07:49 +03:00
Orhun Parmaksız d274a74d59
test(tui): add a simple test to renderer 2022-01-30 03:08:24 +03:00
Orhun Parmaksız 67cb1c24d5
test(widgets): extend selectable list tests 2022-01-28 20:48:04 +03:00
Orhun Parmaksız fec659df7b
test(command): update command module tests 2022-01-28 20:42:01 +03:00
Orhun Parmaksız 5bc968ee28
test(event): add tests to tui event module 2022-01-28 20:30:32 +03:00
Orhun Parmaksız 9017aabbad
test(command): add tests to tui command module 2022-01-28 20:01:49 +03:00
Orhun Parmaksız 2967a5269f
fix(test): update args module tests 2022-01-28 14:31:54 +03:00
Orhun Parmaksız 7f6747607f
test(args): add tests to tui args module 2022-01-28 14:24:45 +03:00
Orhun Parmaksız cb362c5f19
feat(args): add --section argument for tui 2022-01-28 02:09:40 +03:00
Orhun Parmaksız 04b056c202
feat(args): add --query argument for tui 2022-01-28 01:54:58 +03:00
Orhun Parmaksız e8c052e730
feat(args): add --no-docs flag for tui 2022-01-27 00:09:36 +03:00
Orhun Parmaksız fed7612caf
style(tui): update the style of the selection text 2022-01-26 23:55:30 +03:00
Orhun Parmaksız 67f6d0ea5a
fix(tui): filter the sections while searching 2022-01-26 04:15:09 +03:00
Orhun Parmaksız bb483b9d62
refactor(tui): rename StatefulTable widget to SelectableList 2022-01-26 02:33:00 +03:00
Orhun Parmaksız 949b7ec0b8
feat(tui): support filtering parameters by section 2022-01-24 19:53:12 +03:00
Orhun Parmaksız e50af7a6ba
chore(deps): upgrade dependencies 2022-01-24 18:23:36 +03:00
Orhun Parmaksız 9a61d9fbc8
feat(tui): support scrolling the kernel documentation 2022-01-22 00:04:30 +03:00
Orhun Parmaksız afb9b9430e
style(tui): do not trim the parameter documentation 2022-01-21 01:41:59 +03:00
Orhun Parmaksız 5b3b07fd7c
feat(tui): allow faster scrolling with page keys 2022-01-20 19:17:18 +03:00
Orhun Parmaksız 990acbc1dd
feat(tui): support scrolling to top/bottom 2022-01-20 19:04:00 +03:00
Orhun Parmaksız a90fa2768f
feat(tui): support changing the values of parameters 2022-01-20 18:10:52 +03:00
Orhun Parmaksız 59001598e6
fix(tui): reset the input before running a command 2022-01-20 16:48:53 +03:00
Orhun Parmaksız 75ef364c5d
feat(tui): add select as a prompt command 2022-01-20 15:46:12 +03:00
Orhun Parmaksız 214edad37f
feat(tui): add cursor handling to input prompt 2022-01-17 18:12:53 +03:00
Orhun Parmaksız bb80e4a85e
feat(tui): make clipboard support optional 2022-01-15 16:41:02 +03:00
Orhun Parmaksız ffeb6bbfc9
feat(tui): preserve the table state on refresh 2022-01-15 02:50:48 +03:00
Orhun Parmaksız e972456724
style(tui): set bottom margin of parameter list to zero 2022-01-15 02:36:51 +03:00
Orhun Parmaksız 5610e2a36b
fix(tui): prevent scrolling if the parameter list is empty 2022-01-15 02:35:45 +03:00
Orhun Parmaksız 4259786326
feat(tui): support copying to clipboard 2022-01-15 02:30:34 +03:00
Orhun Parmaksız 0a3d9dfdc1
refactor(tui): use consistent naming in custom widgets module 2022-01-15 02:26:14 +03:00
Orhun Parmaksız 851f155abe
feat(tui): add search to prompt commands 2022-01-14 18:48:59 +03:00
Orhun Parmaksız 641cf6e517
fix(tui): update only parameter values on refresh 2022-01-12 16:19:09 +03:00
Orhun Parmaksız cdffaef310
feat(tui): support searching in the kernel parameters 2022-01-12 02:53:54 +03:00
Orhun Parmaksız 0bb24a3838
feat(tui): show the selected parameter index 2022-01-12 00:03:44 +03:00
Orhun Parmaksız e7e622fa8d
refactor(tui): use consistent naming for kernel parameters 2022-01-10 20:24:39 +03:00
Orhun Parmaksız a0b4c593f8
feat(tui): show the parameter documentation 2022-01-10 20:22:32 +03:00
Orhun Parmaksız 4336fc41e9
feat(add): add argument parser for tui options 2022-01-09 19:37:49 +03:00
Orhun Parmaksız 6a828cb35b
refactor(tui): show sysctl variables on a table 2022-01-09 14:15:21 +03:00
Orhun Parmaksız c94df7a689
fix(tui): reinitialize sysctl on application refresh 2022-01-06 20:34:30 +03:00
Orhun Parmaksız 8cc22be48d
fix(tui): allow switching to input mode while a message is shown 2022-01-06 20:27:25 +03:00
Orhun Parmaksız 13ce1f49dd
feat(tui): support showing messages in the prompt 2022-01-06 20:15:19 +03:00
Orhun Parmaksız 7b1fc4b25f
feat(tui): process commands from the input prompt 2022-01-06 18:53:56 +03:00
Orhun Parmaksız ca27a092c0
feat(tui): show sysctl variables on the list 2022-01-06 18:25:25 +03:00
Orhun Parmaksız c950826eb4
feat(tui): add stateful list widget 2022-01-06 18:07:25 +03:00
Orhun Parmaksız 4df05f94fe
feat(tui): make input prompt functional 2022-01-02 15:26:58 +03:00
Orhun Parmaksız cb9d072a3e
feat(tui): render the input prompt 2022-01-02 00:07:06 +03:00
Orhun Parmaksız 54b4c0e61b
feat(tui): implement a basic user interface 2021-12-30 15:17:34 +03:00
Orhun Parmaksız 041d11764c
chore(tui): add core library as dependency 2021-12-27 23:57:24 +03:00
Orhun Parmaksız 8d589d7635
chore(tui): initialize project 2021-12-25 20:49:22 +03:00