diff options
| author | Gal Schlezinger <[email protected]> | 2025-06-14 22:53:43 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-14 14:53:43 -0500 |
| commit | fe109c921eac9dbcf6459c1e1be66e66f2d0dc11 (patch) | |
| tree | 8ee40839e6445cab77b23b3adf66384fc590cdd5 | |
| parent | 37bb8895fefdf87af4ddbb4b754a690548ba8ff5 (diff) | |
| download | opencode-fe109c921eac9dbcf6459c1e1be66e66f2d0dc11.tar.gz opencode-fe109c921eac9dbcf6459c1e1be66e66f2d0dc11.zip | |
add focus tracking for tui so cursor will hide when not in focus (#103)
| -rw-r--r-- | packages/tui/internal/components/chat/editor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go index 95ca3e14b..293f18f05 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) { |
