diff options
| author | Aram Drevekenin <aram@poor.dev> | 2024-12-16 16:03:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-16 16:03:20 +0100 |
| commit | dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7 (patch) | |
| tree | 0ae41e8175d2a3fd260b3c510a30502f6386ac7f /src/main.rs | |
| parent | docs(changelog): multiplayer cursor fix (diff) | |
| download | sl0ppij-dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7.tar.gz sl0ppij-dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7.tar.xz sl0ppij-dd291e2a1f9b4ee3eb1a947e1501a54b10663ea7.zip | |
feat(ux): pin floating panes (#3876)
* working
* ui indication
* add keybinding
* add to plugin panes
* fix with multiple cursors
* toggle with the mouse
* fix e2e tests and add new one
* some cleanups
* add to layouts
* make mouse click more lenient
* allow setting a new floating pane as pinned
* make toggle work throughthe command line
* add to plugin api
* get tests to pass
* style(fmt): rustfmt
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 1be05553..b3a5ce96 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,6 +37,7 @@ fn main() { y, width, height, + pinned, })) = opts.command { let cwd = cwd.or_else(|| std::env::current_dir().ok()); @@ -57,6 +58,7 @@ fn main() { y, width, height, + pinned, }; commands::send_action_to_session(command_cli_action, opts.session, config); std::process::exit(0); @@ -71,6 +73,7 @@ fn main() { y, width, height, + pinned, })) = opts.command { let cwd = None; @@ -90,6 +93,7 @@ fn main() { y, width, height, + pinned, }; commands::send_action_to_session(command_cli_action, opts.session, config); std::process::exit(0); @@ -105,6 +109,7 @@ fn main() { y, width, height, + pinned, })) = opts.command { let mut file = file; @@ -125,6 +130,7 @@ fn main() { y, width, height, + pinned, }; commands::send_action_to_session(command_cli_action, opts.session, config); std::process::exit(0); |
