feat(tmux): add pane-replace utility with tests

This commit is contained in:
YeonGyu-Kim
2026-04-28 10:45:05 +09:00
parent d90102042b
commit f93e15b2a9
3 changed files with 173 additions and 29 deletions
+4
View File
@@ -173,3 +173,7 @@ export function shellEscapeForDoubleQuotedCommand(value: string): string {
.replace(/\(/g, "\\(") // escape parentheses
.replace(/\)/g, "\\)") // escape parentheses
}
export function shellSingleQuote(value: string): string {
return `'${value.replace(/'/g, "'\\''")}'`
}