diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-04 14:52:30 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-04 14:52:30 +0200 |
| commit | a1f6147506af1f98e5dfa670fc83fa45c2249842 (patch) | |
| tree | d6538a529b848c3a94a9ff58cf0e496ddabbbd7a /internal/tui/util | |
| parent | b28c1e0c03dbf12bf428f19214b10f4925c229fa (diff) | |
| download | opencode-a1f6147506af1f98e5dfa670fc83fa45c2249842.tar.gz opencode-a1f6147506af1f98e5dfa670fc83fa45c2249842.zip | |
Add auto-removal of status bar messages after timeout
🤖 Generated with termai
Co-Authored-By: termai <[email protected]>
Diffstat (limited to 'internal/tui/util')
| -rw-r--r-- | internal/tui/util/util.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/tui/util/util.go b/internal/tui/util/util.go index fa3782843..f6cf20d60 100644 --- a/internal/tui/util/util.go +++ b/internal/tui/util/util.go @@ -13,8 +13,9 @@ func ReportError(err error) tea.Cmd { } type ( - InfoMsg string - ErrorMsg error + InfoMsg string + ErrorMsg error + ClearStatusMsg struct{} ) func Clamp(v, low, high int) int { |
