mirror of https://github.com/Hilbis/Hilbish
fix: make shell continue prompt "sh> "
parent
cc183620c5
commit
cfdab00684
2
shell.go
2
shell.go
|
@ -106,7 +106,7 @@ func StartMultiline(prev string, sb *strings.Builder) bool {
|
||||||
// save input from previous prompts
|
// save input from previous prompts
|
||||||
if sb.String() == "" { sb.WriteString(prev + "\n") }
|
if sb.String() == "" { sb.WriteString(prev + "\n") }
|
||||||
|
|
||||||
fmt.Printf("... ")
|
fmt.Printf("sh> ")
|
||||||
|
|
||||||
reader := bufio.NewReader(os.Stdin)
|
reader := bufio.NewReader(os.Stdin)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue