Add auto-removal of status bar messages after timeout
🤖 Generated with termai
Co-Authored-By: termai <noreply@termai.io>
This commit is contained in:
parent
b28c1e0c03
commit
a1f6147506
2 changed files with 26 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue