github.com/shaardie/u-root@v4.0.1-0.20190127173353-f24a1c26aa2e+incompatible/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 )