Pasting long script in bash behaves differently from Terminal.app #3433
Replies: 2 comments 1 reply
-
It looks like bracketed paste mode is not being enabled. When you start bash, open the terminal inspector (Cmd+Option+I) and click the "Modes" tab. Scroll down to the bottom and look for the row labeled If it is not checked, then that would certainly explain the behavior here (although not why it works in Terminal.app, unless Terminal.app always brackets pastes even if the mode is disabled?). |
Beta Was this translation helpful? Give feedback.
-
I could not reproduce this issue on |
Beta Was this translation helpful? Give feedback.
-
Hi!
Thank you for ghostty - it's great!
I noticed a different behavior between Terminal.app and Ghostty when pasting multiple long curl scripts (copy pasted from Chrome's network tab). While Terminal.app correctly (albeit slowly) parses my pasted input, Ghostty seem to do something wrong.
Attached is a screen recording of the behavior and the curl script I used. I removed some sensitive information so it will output that the host is not found - that's expected.
zsh seem to work fine. fish breaks down completely unfortunately, but that's at least consistent between Terminal.app and Ghostty.
curl-paste.txt
Kapture.2024-12-27.at.14.27.18.mp4
Beta Was this translation helpful? Give feedback.
All reactions