star/bed/editor/cmdline.go
2025-04-26 19:33:14 +08:00

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)
}