apps/web/src/components/ChatView.tsx | 4 + apps/web/src/components/ThreadTerminalDrawer.tsx | 26 ++- apps/web/src/terminal/ghostty/surface.test.ts | 324 +++++++++++++++++++++++++++++++- apps/web/src/terminal/ghostty/surface.ts | 63 ++++++- 4 files changed, 401 insertions(+), 16 deletions(-)