Compare commits

..

No commits in common. "4596159b8ffa61139f7e0f3d80e83d4593f819b6" and "38233ccda41d78390cd8d497fd37afb74f401f6d" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -184,10 +184,7 @@ input:
}
input = strings.TrimSpace(input)
if len(input) == 0 {
hooks.Em.Emit("command.exit", 0)
continue
}
if len(input) == 0 { continue }
if strings.HasSuffix(input, "\\") {
for {

1
rl.go
View File

@ -22,7 +22,6 @@ func NewLineReader(prompt string) *LineReader {
}
func (lr *LineReader) Read() (string, error) {
hooks.Em.Emit("command.precmd", nil)
return readline.String(lr.Prompt)
}