4bdef7d860
Adds a message indicating the user's ability to :save or :pipe a message with an unsupported mimetype and also adds a selector widget (similar to the tutorial). The selector widget was previously defined in the account wizard module, so this commit breaks it out into its own module to allow for re-use. Further, modify the BeginExLine() function to take an argument that pre-populates the command line, allowing functions to initiate an ex command without executing it. Closes #95.
12 lines
203 B
Go
12 lines
203 B
Go
package widgets
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TabHost interface {
|
|
BeginExCommand(cmd string)
|
|
SetStatus(status string) *StatusMessage
|
|
PushStatus(text string, expiry time.Duration) *StatusMessage
|
|
Beep()
|
|
}
|