aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-01-20 10:13:37 +0100
committerGitHub <noreply@github.com>2026-01-20 10:13:37 +0100
commit03c86d09cf301db9a62427170f956a632812d67e (patch)
tree5eee73d6201cbe2066ec258a0b7612e84e97aa6d /src
parentFix: allow 0% coordinate specification for floating panes (#4609) (diff)
downloadsl0ppij-03c86d09cf301db9a62427170f956a632812d67e.tar.gz
sl0ppij-03c86d09cf301db9a62427170f956a632812d67e.tar.xz
sl0ppij-03c86d09cf301db9a62427170f956a632812d67e.zip
Allow toggling pane frames for specific panes (#4615)
* initial implementation * add borderless to edit and plugin cli commands * allow changing existing pane to borderless * allow setting in layouts and keybindings * get to work through the existing plugin api commands * fix when applying (swap) layouts * fix tests * allow setting pane as bordered (borderful?) when changing its coordinates (eg. through the cli) * allow explicitly setting a pane as bordered or borderless without toggling * rustfmt * adjust snapshots * docs(changelog): add PR
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 64c94ed4..de0b496c 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -45,6 +45,7 @@ fn main() {
block_until_exit_failure,
block_until_exit,
near_current_pane,
+ borderless,
})) = opts.command
{
let cwd = cwd.or_else(|| std::env::current_dir().ok());
@@ -82,6 +83,7 @@ fn main() {
blocking,
unblock_condition,
near_current_pane,
+ borderless,
};
commands::send_action_to_session(command_cli_action, opts.session, config);
std::process::exit(0);
@@ -97,6 +99,7 @@ fn main() {
width,
height,
pinned,
+ borderless,
})) = opts.command
{
let cwd = None;
@@ -124,6 +127,7 @@ fn main() {
blocking,
unblock_condition,
near_current_pane: false,
+ borderless,
};
commands::send_action_to_session(command_cli_action, opts.session, config);
std::process::exit(0);
@@ -141,6 +145,7 @@ fn main() {
height,
pinned,
near_current_pane,
+ borderless,
})) = opts.command
{
let mut file = file;
@@ -163,6 +168,7 @@ fn main() {
height,
pinned,
near_current_pane,
+ borderless,
};
commands::send_action_to_session(command_cli_action, opts.session, config);
std::process::exit(0);