mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2024-11-24 00:52:29 +01:00
152f8c9519
Add a "new-message-bell" option to the UI section of aerc.conf. A new hook into the message store allows the msglist widget to detect new messages being added to the displayed list. When new messages are delivered, and the new-message-bell option is enabled (as it is by default), the terminal will beep.
13 lines
193 B
Go
13 lines
193 B
Go
package widgets
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TabHost interface {
|
|
BeginExCommand()
|
|
SetStatus(status string) *StatusMessage
|
|
PushStatus(text string, expiry time.Duration) *StatusMessage
|
|
Beep()
|
|
}
|