Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/reader/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ async fn close_pane(target: &Target) -> Result<()> {
"-e",
"set browserTerminal to first terminal whose id is item 1 of argv",
"-e",
"return perform action \"text:\\x11\" on browserTerminal",
// AppleScript rejects a literal \x11 in a string (syntax error
// -2741), so build the Ctrl+W byte at runtime instead.
"return perform action (\"text:\" & (ASCII character 17)) on browserTerminal",
"-e",
"end tell",
"-e",
Expand Down
Loading