2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-04-02 19:53:23 +00:00

revert: fix: panic on ctrl d on continued input

This reverts commit 72973eade78eb313a255b582112318b31ba9f473.
i'm kinda a bit dumb
this fix broke basically everything else that used the splitInput
function
This commit is contained in:
sammyette 2021-06-11 18:03:52 -04:00
parent 72973eade7
commit 03b98bdd26
No known key found for this signature in database
GPG Key ID: 50EE40A2809851F5

View File

@ -177,7 +177,7 @@ func splitInput(input string) ([]string, string) {
quoted := false
startlastcmd := false
lastcmddone := false
cmdArgs := []string{""}
cmdArgs := []string{}
sb := &strings.Builder{}
cmdstr := &strings.Builder{}
lastcmd := "" //readline.GetHistory(readline.HistorySize() - 1)