mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-01 08:42:55 +08:00
12 lines
251 B
Go
12 lines
251 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)
|
||
|
}
|