Commit graph

89 commits

Author SHA1 Message Date
dependabot[bot] 53af3598f0 chore(deps): bump tui from 0.17.0 to 0.18.0 (#17)
Bumps [tui](https://github.com/fdehau/tui-rs) from 0.17.0 to 0.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/fdehau/tui-rs/releases">tui's releases</a>.</em></p>
<blockquote>
<h2>v0.18.0</h2>
<h3>Features</h3>
<ul>
<li>Update <code>crossterm</code> to <code>0.23</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/fdehau/tui-rs/blob/master/CHANGELOG.md">tui's changelog</a>.</em></p>
<blockquote>
<h2>v0.18.0 - 2022-04-24</h2>
<h3>Features</h3>
<ul>
<li>Update <code>crossterm</code> to <code>0.23</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e71faa988e"><code>e71faa9</code></a> Release v0.18.0</li>
<li><a href="ed0ae81aae"><code>ed0ae81</code></a> chore: update crossterm to v0.23 (<a href="https://github-redirect.dependabot.com/fdehau/tui-rs/issues/598">#598</a>)</li>
<li><a href="a61b078dea"><code>a61b078</code></a> chore: fix clippy warning (<a href="https://github-redirect.dependabot.com/fdehau/tui-rs/issues/601">#601</a>)</li>
<li>See full diff in <a href="https://github.com/fdehau/tui-rs/compare/v0.17.0...v0.18.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tui&package-manager=cargo&previous-version=0.17.0&new-version=0.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
2022-04-27 13:35:19 +00:00
Orhun Parmaksız 830216b346
chore(release): prepare for v0.1.1 2022-04-19 13:16:36 +03:00
Oraoto d07bdb4f07 fix(tui): replace tab with whitespace in value (#16)
## Description

Replace `\t` with whitespace in values, to separated vector values.

## Motivation and Context

Vector values (eg, net.ipv4_mem) are separated by `\t`, but tui could not display `\t` correctly.

Fix https://github.com/orhun/systeroid/issues/14.


## How Has This Been Tested?

Visually checked

## Screenshots / Logs (if applicable)

Before:

![sc-20220419-122855](https://user-images.githubusercontent.com/24709398/163920309-756a9334-252f-4901-9231-a6183f91061d.png)

After:

![sc-20220419-122941](https://user-images.githubusercontent.com/24709398/163920378-611f6597-0ae8-40e1-95c8-1c8039473254.png)


## Types of Changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (no code change)
- [ ] Refactor (refactoring production code)
- [ ] Other <!--- (provide information) -->

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
- [X] My code follows the code style of this project.
- [ ] I have updated the documentation accordingly.
- [X] I have formatted the code with [rustfmt](https://github.com/rust-lang/rustfmt).
- [X] I checked the lints with [clippy](https://github.com/rust-lang/rust-clippy).
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
2022-04-19 10:00:26 +00:00
Orhun Parmaksız 202c87cc38
chore(release): prepare for v0.1.0 2022-04-16 11:14:30 +03:00
Orhun Parmaksız d883b0fbd1
docs(project): add documentation
commit 72e58dd9bf74d484c0d725d4a7e4544faa99aa2d
Merge: 539527e b3ad25f
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Apr 16 03:49:33 2022 +0300

    Merge branch 'main' into add_readme

commit 539527e046
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Apr 16 03:45:31 2022 +0300

    chore(bors): remove use_codeowners key

commit 31a69fb835
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Apr 16 03:43:37 2022 +0300

    chore(project): update bors config

commit 626b3535f8
Merge: e3d7025 84a3206
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 17:48:39 2022 +0300

    Merge branch 'main' into add_readme

commit e3d70254f4
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 17:04:14 2022 +0300

    docs(readme): update the image source for Docker build badge

commit 6e320258d1
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 16:45:56 2022 +0300

    docs(readme): update badge links

commit cfac24f6ca
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 16:44:08 2022 +0300

    docs(readme): update crates.io instructions

commit 8ffc15997c
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 11:19:34 2022 +0300

    chore(project): add readme key to manifests

commit dc91b03d30
Merge: ba83dd9 12233f0
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 11:19:05 2022 +0300

    Merge branch 'main' into add_readme

commit ba83dd9188
Merge: 02a03f9 1005f65
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Apr 15 00:14:52 2022 +0300

    Merge branch 'main' into add_readme

commit 02a03f93ee
Merge: 8c79346 fb3295b
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Apr 10 15:18:07 2022 +0300

    Merge branch 'main' into add_readme

commit 8c79346195
Merge: 29383ad c529bc6
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Apr 10 14:53:11 2022 +0300

    Merge branch 'main' into add_readme

commit 29383ad882
Merge: 7394eee eb0d492
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Apr 9 12:24:50 2022 +0300

    Merge branch 'main' into add_readme

commit 7394eeec3b
Merge: 0e8e7e1 7d25e92
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Thu Apr 7 23:47:33 2022 +0300

    Merge branch 'main' into add_readme

commit 0e8e7e1328
Merge: 201af2f 7d9584d
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Thu Mar 24 23:42:10 2022 +0300

    Merge branch 'main' into add_readme

commit 201af2fb2c
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Thu Mar 24 23:42:04 2022 +0300

    docs(readme): update preload examples

commit fb9cd98d24
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 20 01:08:02 2022 +0300

    docs(readme): update binary releases section

commit 1482b98c9c
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 20 01:04:32 2022 +0300

    docs(readme): add packaging status badge

commit 0d65a11c80
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 20 01:02:29 2022 +0300

    docs(readme): add building from source instructions

commit b14bbec506
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 19:23:54 2022 +0300

    docs(readme): add details to docker section

commit 9049b639f8
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 18:13:19 2022 +0300

    docs(readme): add docker section

commit 7c3c08ed9c
Merge: f29075d 7c94144
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 17:11:24 2022 +0300

    Merge branch 'main' into add_readme

commit f29075d56b
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 00:55:59 2022 +0300

    docs(readme): update docs path

commit d83e8236c5
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 00:54:49 2022 +0300

    docs(readme): rename env

commit 240efaa724
Merge: 7c890d0 36e9a76
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 00:54:20 2022 +0300

    Merge branch 'main' into add_readme

commit 7c890d099a
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 19 00:40:13 2022 +0300

    feat(docs): support glob patterns for documentation path

commit 98d32ca488
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 23:19:10 2022 +0300

    fix(cache): enable cache for custom kernel documentation path

commit 00026bb569
Merge: 7c48bc8 e356664
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 15:55:29 2022 +0300

    Merge branch 'main' into add_readme

commit 7c48bc8a29
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 15:55:21 2022 +0300

    docs(readme): mention the environment variable for disabling the cache

commit ef0edda75d
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 02:22:16 2022 +0300

    docs(readme): mention the environment variable for setting the documentation

commit 00ba1d1ab7
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 00:46:11 2022 +0300

    style(readme): update link style for requirements

commit 4a576074a9
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 00:45:18 2022 +0300

    docs(readme): link the appropriate sections

commit 9b24ca4eac
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Fri Mar 18 00:43:05 2022 +0300

    docs(readme): add requirements

commit b8c097607c
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Thu Mar 17 23:41:21 2022 +0300

    chore(docker): add assets directory to .dockerignore

commit 1a90ca57c2
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Thu Mar 17 00:59:23 2022 +0300

    chore(project): rename img folder to assets

commit 6090698771
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Tue Mar 15 01:22:44 2022 +0300

    docs(readme): update key bindings about exit

commit 89b630b701
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Tue Mar 15 00:58:54 2022 +0300

    docs(readme): add examples for tui

commit 3bb969a602
Merge: 53c6a17 590ca58
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 12 22:31:10 2022 +0300

    Merge branch 'main' into add_readme

commit 53c6a17e47
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Wed Mar 9 01:01:38 2022 +0300

    docs(readme): update wording

commit 10374a6326
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Wed Mar 9 00:39:57 2022 +0300

    docs(readme): add CLI usage

commit 66cd215e74
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Tue Mar 8 01:13:44 2022 +0300

    style(readme): resize demo gif

commit 6e2e477c61
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Tue Mar 8 01:05:33 2022 +0300

    docs(readme): add demo gif

commit c0ed57576d
Merge: 178d511 932ad2a
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Tue Mar 8 00:28:30 2022 +0300

    Merge branch 'main' into add_readme

commit 178d5110c7
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Mon Mar 7 23:47:51 2022 +0300

    docs(readme): add reference links

commit c09358780d
Merge: 45380cb 90e5771
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Mon Mar 7 23:45:19 2022 +0300

    Merge branch 'main' into add_readme

commit 45380cbf03
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Mon Mar 7 05:41:09 2022 +0300

    docs(readme): add example commands for CLI usage

commit 87bc981c38
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 6 19:48:01 2022 +0300

    style(readme): apply formatting

commit 95a92a1a69
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 6 19:47:16 2022 +0300

    docs(readme): add command-line options

commit 3b0bb761c7
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 6 02:47:34 2022 +0300

    docs(readme): update description

commit edde0fc2e8
Merge: f2e4866 a440342
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 6 02:39:51 2022 +0300

    Merge branch 'main' into add_readme

commit f2e48660de
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 6 01:54:47 2022 +0300

    docs(readme): update logo section

commit 777fdc4395
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sun Mar 6 01:50:43 2022 +0300

    docs(readme): add description and arrange sections

commit 0830acf475
Author: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Date:   Sat Mar 5 22:17:32 2022 +0300

    docs(readme): add basic information to README.md
2022-04-16 03:53:56 +03:00
Orhun Parmaksız 12233f0e80
chore(project): remove readme key from manifests 2022-04-15 11:18:55 +03:00
Orhun Parmaksız bcc22f03cb
chore(release): mark version as release candidate 2022-04-15 00:07:49 +03:00
Orhun Parmaksız 7ef13a10e8
chore(release): add release script and instructions 2022-04-09 12:17:05 +03:00
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