diff options
| author | Brooks Rady <b.j.rady@gmail.com> | 2021-01-13 13:10:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-13 13:10:48 +0000 |
| commit | e7f16ed468902375b91b97f1093c4b9f8531acf1 (patch) | |
| tree | 5809dbdfb42ffbc3329f5bfcd6faee62d94efe58 /src/common/errors.rs | |
| parent | refactor(terminal-pane): simplify Scroll into Grid (#137) (diff) | |
| parent | Patched a width miscalculation in the status bar plugin (diff) | |
| download | sl0ppij-e7f16ed468902375b91b97f1093c4b9f8531acf1.tar.gz sl0ppij-e7f16ed468902375b91b97f1093c4b9f8531acf1.tar.xz sl0ppij-e7f16ed468902375b91b97f1093c4b9f8531acf1.zip | |
feat(ui): added a help / status bar for keybindings and modes
To implement this status bar as a plugin (https://github.com/mosaic-org/status-bar/blob/master/src/main.rs), the following bits of infrastructure were changed:
- Layouts can now have an exact size constraint (1 row high, for example)
- Unconstrained blocks in a layout are now grown to fill the remaining space
- Default plugins and layouts are now stored in an OS-dependent data directory. The initial installation of these assets is done a build-time via `build.rs`
- All new tabs are created with a user-configurable default layout, unless provided with a different layout
- Plugins can now capture *all* key presses detected by Mosaic via `global_handle_key()`
- Plugins can now control whether or not they are selectable via `set_selectable()`
- Plugins can now fetch a vector of help-strings from Mosaic, which is currently being used to display helpful keybindings, via `get_help()`
- Also patched up all remaining compiler warnings and 23 of the 25 clippy lints on main
Diffstat (limited to 'src/common/errors.rs')
0 files changed, 0 insertions, 0 deletions
