diff options
author | δΎδΊ <lilydjwg@gmail.com> | 2024-02-14 02:33:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 18:33:23 +0000 |
commit | 1a432b61ee4f52f3ff0da1c991aa5d605f700869 (patch) | |
tree | 867d845466d24091ba47e1f92bd1d07e9949d038 /atuin-client/src/settings.rs | |
parent | 87e19df9c5d8c2a7438c93c67b4590df722fb95c (diff) |
fix(ui): don't preserve for empty space (#1712)
For the following situation:
$ atuin search -i --inline-height 15
[ HOST ] query
> 1m 19d ago item 1
1 0s 1mo ago item 2
2 0s 1mo ago item 3
3 0s 1mo ago item 4
4 0s 1mo ago item 5
5 0s 1mo ago item 6
Atuin v17.2.1 [...]
Scrolling item 6 results:
[ HOST ] query
0s 1mo ago item 3
0s 1mo ago item 4
0s 1mo ago item 5
> 0s 1mo ago item 6
Atuin v17.2.1 [...]
With this patch it becomes:
[ HOST ] query
1m 19d ago item 1
0s 1mo ago item 2
0s 1mo ago item 3
0s 1mo ago item 4
0s 1mo ago item 5
> 0s 1mo ago item 6
Atuin v17.2.1 [...]
Diffstat (limited to 'atuin-client/src/settings.rs')
0 files changed, 0 insertions, 0 deletions