github.com/oweisse/u-root@v0.0.0-20181109060735-d005ad25fef1/cmds/elvish/edit/eddefs/action.go (about) 1 package eddefs 2 3 // Action is used in the SetAction method of the Editor to schedule a special 4 // Action after a keybinding has been executed. 5 type Action int 6 7 const ( 8 NoAction Action = iota 9 // ReprocessKey makes the editor to reprocess the keybinding. 10 ReprocessKey 11 // CommitLine makes the editor return with the current line. 12 CommitLine 13 // CommitEOF makes the editor return with an EOF. 14 CommitEOF 15 )