"tests/vscode:/vscode.git/clone" did not exist on "ec8b1cb0a0a5752bba029da4bdc91616c0f5bec7"
Commit 93d887e4 authored by Michael Yang's avatar Michael Yang
Browse files

add painter message for exit

parent 7de0c834
...@@ -43,7 +43,7 @@ func (p Painter) Paint(line []rune, _ int) []rune { ...@@ -43,7 +43,7 @@ func (p Painter) Paint(line []rune, _ int) []rune {
if p.IsMultiLine { if p.IsMultiLine {
prompt = "Use \"\"\" to end multi-line input" prompt = "Use \"\"\" to end multi-line input"
} else { } else {
prompt = "Send a message (/? for help)" prompt = "Send a message (/? for help, /bye to exit)"
} }
return []rune(fmt.Sprintf("\033[38;5;245m%s\033[%dD\033[0m", prompt, len(prompt))) return []rune(fmt.Sprintf("\033[38;5;245m%s\033[%dD\033[0m", prompt, len(prompt)))
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment