mirror of https://github.com/Hilbis/Hilbish
revert: fix: panic on ctrl d on continued input
This reverts commit 72973eade7
.
i'm kinda a bit dumb
this fix broke basically everything else that used the splitInput
function
pull/61/head
parent
72973eade7
commit
03b98bdd26
2
shell.go
2
shell.go
|
@ -177,7 +177,7 @@ func splitInput(input string) ([]string, string) {
|
||||||
quoted := false
|
quoted := false
|
||||||
startlastcmd := false
|
startlastcmd := false
|
||||||
lastcmddone := false
|
lastcmddone := false
|
||||||
cmdArgs := []string{""}
|
cmdArgs := []string{}
|
||||||
sb := &strings.Builder{}
|
sb := &strings.Builder{}
|
||||||
cmdstr := &strings.Builder{}
|
cmdstr := &strings.Builder{}
|
||||||
lastcmd := "" //readline.GetHistory(readline.HistorySize() - 1)
|
lastcmd := "" //readline.GetHistory(readline.HistorySize() - 1)
|
||||||
|
|
Loading…
Reference in New Issue