mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 09:57:51 +08:00
12 lines
267 B
Go
12 lines
267 B
Go
package eval
|
|
|
|
import "sync"
|
|
|
|
// Editor is the interface that the line editor has to satisfy. It is needed so
|
|
// that this package does not depend on the edit package.
|
|
type Editor interface {
|
|
Active() bool
|
|
ActiveMutex() *sync.Mutex
|
|
Notify(string, ...interface{})
|
|
}
|