Skip to content

Commit

Permalink
feat: Add log view pane to the TUI (#201)
Browse files Browse the repository at this point in the history
* feat: Add log view pane to the TUI

* doc: Update key bindings

* test: Update key binding tests

* test: Use the correct variant for modifier
  • Loading branch information
orhun committed Mar 17, 2024
1 parent 3d82d47 commit e63e3a9
Show file tree
Hide file tree
Showing 19 changed files with 417 additions and 82 deletions.
1 change: 1 addition & 0 deletions COMMANDS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ Following are the currently available commands for [gpg-tui](https://github.com/
| Go to the previous tab | `:previous` | - |
| Refresh the application | `:refresh` | - |
| Refresh the keyring | `:refresh keys` | - |
| Show logs | `:logs` | - |
| Quit the application | `:quit` | - |
| Do nothing | `:none` | - |
105 changes: 99 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ clap_complete = "4.5.1"
tinytemplate = "1.2.1"
better-panic = "0.3.0"
ratatui-splash-screen = "0.1.0"
env_logger = "0.11.3"
log = "0.4.21"

[dependencies.crossterm]
version = "0.27.0"
Expand All @@ -59,6 +61,11 @@ features = ["derive", "env", "wrap_help", "cargo"]
version = "1.0.197"
features = ["derive"]

[dependencies.tui-logger]
version = "0.11.0"
default-features = false
features = ["crossterm"]

[dev-dependencies]
pretty_assertions = "1.4.0"

Expand Down
Loading

0 comments on commit e63e3a9

Please sign in to comment.