post create none action

This commit is contained in:
2026-06-19 16:15:10 +02:00
parent 7b3a370371
commit 27b7ba6904
4 changed files with 9 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ public record AppConfig(
defaultScrollbackEditorCommand(),
"./.worktrees",
",",
"",
"none",
"SIGTERM",
Map.of(),
Map.ofEntries(

View File

@@ -375,6 +375,7 @@ final class TerminalWindow {
}
switch (action.trim().toLowerCase(Locale.ROOT)) {
case "none" -> { }
case "cd" -> lastActivePane.send("cd " + shellQuote(worktreePaths.get(worktreePaths.size() - 1)) + "\r");
case "create_panes" -> worktreePaths.forEach(compositor::createTiledPane);
case "create_panes_floating" -> worktreePaths.forEach(compositor::createFloatingPaneInDirectory);