apps/web/src/components/ThreadTerminalDrawer.test.ts | 17 ++- apps/web/src/components/ThreadTerminalDrawer.tsx | 21 +++- apps/web/src/terminal/ghostty/core.test.ts | 20 +++ apps/web/src/terminal/ghostty/core.ts | 121 +++++++++++------- apps/web/src/terminal/ghostty/runtime.ts | 8 +- apps/web/src/terminal/ghostty/surface.test.ts | 211 ++++++++++++++++++++++++++++++++ apps/web/src/terminal/ghostty/surface.ts | 80 ++++++++++-- docs/user/terminal.md | 10 ++ 8 files changed, 429 insertions(+), 59 deletions(-)