update dependencies

This commit is contained in:
Cory Bennett
2017-09-06 11:35:00 -07:00
parent 9453179251
commit aa876cd588
308 changed files with 46154 additions and 33733 deletions
+9
View File
@@ -0,0 +1,9 @@
package terminal
import (
"errors"
)
var (
InterruptErr = errors.New("interrupt")
)
+1 -2
View File
@@ -1,7 +1,6 @@
package terminal
import (
"fmt"
"os"
"unicode"
)
@@ -47,7 +46,7 @@ func (rr *RuneReader) ReadLine(mask rune) ([]rune, error) {
Print("\r\n")
// we're done processing the input, and treat interrupt like an error
return line, fmt.Errorf("interrupt")
return line, InterruptErr
}
// allow for backspace/delete editing of inputs