Commit graph

7 commits

Author SHA1 Message Date
36a62018e5
refactor: accept CLI args as options and minor restructuring
* Made constructed `App` instances use CLI args for `frame_rate` and
  `tick_rate`
* Moved lazy constants from `LazyLock` to `lazy_static!`
* Slightly restructure SSH config initialization
* Also apply rustfmt formatting to some files
2025-01-30 06:57:02 +00:00
67380f6057
fix(tui): remove unwrap and replace with error log 2025-01-30 06:21:56 +00:00
26ffbb5411
refactor(ssh): remove unnecessary panics and improve logging 2025-01-30 06:19:38 +00:00
1f72560438
feat(ssh): validate terminal emulator support 2025-01-29 14:50:07 +00:00
d22b1c3a34
refactor: remove server tui event handling 2025-01-29 14:44:23 +00:00
9c92bf4f3e
feat: forward ssh keystroke data to tui
Makes controls usable by taking SSH keystroke data (encoded in the xterm
format) and converting them to crossterm `KeyCode`s / `KeyEvent`s and
sending them to the `Tui`.

Also adds support for suspension of the `Tui` over the SSH connection.

Some minor refactoring was also done.
2025-01-29 14:21:50 +00:00
15a6cfe4e2
feat: init, basic rendering with ratatui to ssh backend 2025-01-28 05:40:02 +00:00