Skip to content

Commit a01bfb4

Browse files
Add short quit prompt
1 parent 98c9cac commit a01bfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/aicli/cmd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (cmd *Cmd) handleMeta(line string) string {
229229
} else {
230230
return newMsg
231231
}
232-
case `\quit`, `\exit`:
232+
case `\quit`, `\exit`, `\q`:
233233
os.Exit(0)
234234
default:
235235
err = errors.Errorf("Unknown meta command '%s'", line)

0 commit comments

Comments
 (0)