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.
12 lines
193 B
Go
12 lines
193 B
Go
package widgets
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TabHost interface {
|
|
BeginExCommand()
|
|
SetStatus(status string) *StatusMessage
|
|
PushStatus(text string, expiry time.Duration) *StatusMessage
|
|
Beep()
|
|
}
|