The open source coding agent.
TypeScript
add focus tracking for tui so cursor will hide when not in focus (#103)
Gal Schlezingerfe109c921eac
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.goindex 95ca3e14b2a..293f18f050f 100644--- a/packages/tui/internal/components/chat/editor.go+++ b/packages/tui/internal/components/chat/editor.go@@ -93,7 +93,7 @@ const ()func (m *editorComponent) Init() tea.Cmd {- return tea.Batch(textarea.Blink, m.spinner.Tick)+ return tea.Batch(textarea.Blink, m.spinner.Tick, tea.EnableReportFocus)}func (m *editorComponent) Update(msg tea.Msg) (tea.Model, tea.Cmd) {