11 lines
253 B
Go
11 lines
253 B
Go
package editor
|
|
|
|
import "b612.me/apps/b612/bed/event"
|
|
|
|
// Cmdline defines the required cmdline interface for the editor.
|
|
type Cmdline interface {
|
|
Init(chan<- event.Event, <-chan event.Event, chan<- struct{})
|
|
Run()
|
|
Get() ([]rune, int, []string, int)
|
|
}
|