nushell
nushell copied to clipboard
Completion menu visually broken with candidates longer than terminal width
Describe the bug
When listing candidates longer than terminal width (only checked with filename completion), initially selected completion isnt even visible and all candidates get padded to the width of the longest, resulting in empty lines.
How to reproduce
Create bunch of long filenames. Complete the filename.
Expected behavior
Account for wrapping or truncate long filenames.
Screenshots
This is after pressign tab and as you can see it visually skips over first 10 candidates completely
and short candidates are padded
Configuration
| key | value |
|---|---|
| version | 0.94.2 |
| major | 0 |
| minor | 94 |
| patch | 2 |
| branch | makepkg |
| commit_hash | be8c1dc0066cd1034a6b110a622f47b516bfe029 |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.78.0 (9b00956e5 2024-04-29) (Arch Linux rust 1:1.78.0-1) |
| cargo_version | cargo 1.78.0 |
| build_time | 2024-06-04 09:13:10 +00:00 |
| build_rust_channel | release |
| allocator | mimalloc |
| features | default, sqlite, system-clipboard, trash, which |
| installed_plugins |
Additional context
No response
I'm guessing that this is a reedline issue versus a nushell issue.