We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8678751 + 17acb60 commit fef04a6Copy full SHA for fef04a6
repl.go
@@ -126,10 +126,11 @@ func repl(phase Phase) {
126
reader := NewReader(runeReader, "<repl>")
127
128
for {
129
+ namespace := GLOBAL_ENV.CurrentNamespace().Name.ToString(false)
130
if noReadline {
- print(GLOBAL_ENV.CurrentNamespace().Name.ToString(false) + "=> ")
131
+ print(namespace + "=> ")
132
} else {
- runeReader.(*LineRuneReader).Prompt = (GLOBAL_ENV.CurrentNamespace().Name.ToString(false) + "=> ")
133
+ runeReader.(*LineRuneReader).Prompt = (namespace + "=> ")
134
}
135
if processReplCommand(reader, phase, parseContext, replContext) {
136
saveReplHistory(rl, historyFilename)
0 commit comments