소스 검색

Merge pull request #598 from jmorganca/mxyng/help-exit

add painter message for exit
Michael Yang 1 년 전
부모
커밋
c38ec5befb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cmd/cmd.go

+ 1 - 1
cmd/cmd.go

@@ -43,7 +43,7 @@ func (p Painter) Paint(line []rune, _ int) []rune {
 		if p.IsMultiLine {
 			prompt = "Use \"\"\" to end multi-line input"
 		} 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)))
 	}