github.com/xyproto/u-root@v6.0.1-0.20200302025726-5528e0c77a3c+incompatible/cmds/core/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 )