github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/cmds/core/elvish/eval/editor.go (about)

     1  package eval
     2  
     3  // Editor is the interface that the line editor has to satisfy. It is needed so
     4  // that this package does not depend on the edit package.
     5  type Editor interface {
     6  	Notify(string, ...interface{})
     7  }