I don't want to presume your use case, but Ghostty has a command for dumping the buffer to a file, which I use for processing output "too late" to use grep.
keybind = ctrl+alt+shift+o=write_scrollback_file:open
keybind = ctrl+alt+shift+o=write_scrollback_file:open
No comments yet.