cockroachdb / cockroachdb/cockroach
cli/demo: allow for typeahead at startup
Open
A-cli-client
A-demo
C-enhancement
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Is your feature request related to a problem? Please describe.**
Demo takes some time to start up. Often, when starting demo, I'm interested in the output of a single query and I would like to start typing it immediately.
On 22.2, if you start typing before demo has shown you a prompt, the buffered input will end up on the prompt once startup is complete.
On 23.1, the buffered input seems to be discarded.
I've labeled this an enhancement as both behaviours are defensible (for instance, on my machine `vim` discards buffered input while `nano` doesn't). I just like the old behaviour better.
Jira issue: CRDB-29994
Contributor guide
Assessment
This issue has not been assessed yet.