mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Do not clear terminal after skim suggestions
This commit is contained in:
parent
32a40ef433
commit
5076fe4705
@ -47,6 +47,11 @@ fn skim_impl(prefix: &CxxString, words: &CxxVector<CxxString>) -> Result<String,
|
|||||||
.height(Some("30%"))
|
.height(Some("30%"))
|
||||||
.query(Some(prefix.to_str().unwrap()))
|
.query(Some(prefix.to_str().unwrap()))
|
||||||
.tac(true)
|
.tac(true)
|
||||||
|
// Do not clear on start and clear on exit will clear skim output from the terminal.
|
||||||
|
//
|
||||||
|
// Refs: https://github.com/lotabout/skim/issues/494#issuecomment-1776565846
|
||||||
|
.no_clear_start(true)
|
||||||
|
.no_clear(false)
|
||||||
.tiebreak(Some("-score".to_string()))
|
.tiebreak(Some("-score".to_string()))
|
||||||
// Exact mode performs better for SQL.
|
// Exact mode performs better for SQL.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user