I added rich clipboard support to Ghostty on macOS so copied terminal content can be pasted appropriately into different kinds of applications.
Ghostty on macOS now copies multiple formats into the clipboard.
When I paste into rich text apps, the clipboard preserves formatting.
Pasting as plain text also works.
I think Ghostty may be the only macOS terminal other than the built-in to do this.
Rich clipboard support is coming soon to GTK.
I shared https://t.co/eqm9Rl8X4m about this clipboard functionality.
Related: native macos app features, text input and keyboard handling, terminal behavior compatibility