v.24.10Improvement
Fix terminal echo behavior in ClickHouse client during slow startup
If you runclickhouse-clientor other CLI application, and it starts up slowly due to an overloaded server, and you start typing your query, such asSELECT, the previous versions will display the remaining of the terminal echo contents before printing the greetings message, such asSELECTClickHouse local version 24.10.1.1.instead ofClickHouse local version 24.10.1.1.. Now it is fixed. This closes #31696. #69856 (Alexey Milovidov).
Why it matters
When theclickhouse-client or other CLI applications start slowly because of an overloaded server, typing a query like SELECT would cause the typed text to be displayed immediately followed by the greeting message, resulting in confusing output such as SELECTClickHouse local version 24.10.1.1.. This feature corrects that behavior to ensure the greeting message appears cleanly without mixing with previous terminal input.