v.20.1Improvement

clickhouse-client: Enable bracketed-paste only with multiquery on and multiline off

clickhouse-client now only enable bracketed-paste when multiquery is on and multiline is off. This fixes #7757. #7761 (Amos Bird)
clickhouse-client now enables bracketed-paste only when multiquery is on and multiline is off.

Why it matters

This change fixes an issue where bracketed-paste was enabled in inappropriate input modes, causing unexpected behavior when executing multiquery or multiline commands. By restricting bracketed-paste to cases when multiquery mode is active and multiline mode is disabled, the client experience becomes more consistent and reliable.

How to use it

Users benefit from this improvement automatically in clickhouse-client. To ensure bracketed-paste is enabled, run with multiquery mode turned on and multiline mode turned off. No additional user configuration is needed.