Skip to content

Do not reprint the prompt on YDB CLI completion #14525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vityaman opened this issue Feb 13, 2025 · 0 comments
Open

Do not reprint the prompt on YDB CLI completion #14525

vityaman opened this issue Feb 13, 2025 · 0 comments
Labels
area/cli CLI related issues external

Comments

@vityaman
Copy link
Contributor

Currently YDB CLI reprints a prompt on completion like psql, ClickHouse CLI, what makes queries writing not so pleasant.

This is because it uses Replxx -- a C++ replacement for the GNU Readline.

An example from psql:
Image

Fixing this is not so easy and requires patching a tricky code of Replxx, but is possible, as, for example, Python 3.13 REPL and ZSH do not reprint a prompt.

Relations:

@pnv1 pnv1 added the area/cli CLI related issues label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli CLI related issues external
Projects
None yet
Development

No branches or pull requests

3 participants