Skip to content

Client: long queries are not removed when navigating through history #32399

@tavplubix

Description

@tavplubix

How to reproduce:

  1. Run several long queries in clickhouse-client such that query does not fit into one line in terminal
  2. Try to navigate through history using "up" and "down" keys
  3. You will see something like this:

Screenshot from 2021-12-08 16-16-06

It makes query history almost impossible to use.

Expected behavior:
Client should remove previous query from terminal before printing the next one (just like it worked in older versions and how it works now if query fits into one line)
Screenshot from 2021-12-08 16-20-59
Screenshot from 2021-12-08 16-21-26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions