Skip to content

Commit ff22f86

Browse files
fix(1289): clear terminal area if inline (#2600)
Pulled from #2543 Fixes interactive mode in fish where the terminal wasn't being displayed properly. fixes #1289 Co-authored-by: Lucas Trzesniewski <[email protected]>
1 parent 92ff756 commit ff22f86

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: crates/atuin/src/command/client/search/interactive.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,10 @@ pub async fn history(
11221122

11231123
let mut results = app.query_results(&mut db, settings.smart_sort).await?;
11241124

1125+
if settings.inline_height > 0 {
1126+
terminal.clear()?;
1127+
}
1128+
11251129
let mut stats: Option<HistoryStats> = None;
11261130
let accept;
11271131
let result = 'render: loop {

0 commit comments

Comments
 (0)