mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
add extra newline in repl for readability
This commit is contained in:
parent
9d68f24e78
commit
5afd227aa2
4
popup.go
4
popup.go
@ -635,12 +635,12 @@ func replPopup() {
|
||||
|
||||
res, err := gomu.anko.Execute(text)
|
||||
if err != nil {
|
||||
fmt.Fprintf(textview, "%s%s\n%v\n", prompt, text, err)
|
||||
fmt.Fprintf(textview, "%s%s\n%v\n\n", prompt, text, err)
|
||||
return nil
|
||||
}
|
||||
|
||||
if res != nil {
|
||||
fmt.Fprintf(textview, "%s%s\n%v\n", prompt, text, res)
|
||||
fmt.Fprintf(textview, "%s%s\n%v\n\n", prompt, text, res)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user