v.25.11Improvement

User can now cancel the query

User can now cancel the query in clickhouse-client by pressing Ctrl-C when the pager is running. Resolves #80778. #88935 (Grigorii).
Users can now cancel an executing query in clickhouse-client by pressing Ctrl-C when the output pager is active.

Why it matters

This feature addresses the problem of being unable to abort long-running queries while viewing results through the pager in clickhouse-client. It improves user experience by allowing immediate cancellation, thus saving time and system resources.

How to use it

When running clickhouse-client with pager enabled (the default behavior or when explicitly set), simply press Ctrl-C to cancel the currently executing query at any point while the pager is displaying results.