mirror of
https://github.com/nushell/nushell.git
synced 2025-08-07 06:45:55 +02:00
# Description `explore` was reading the byte length for computing: - `:` command input cursor positions - `/`/`?` search mode cursor positions - `:try` input box cursor positions - search highlighting Fixed this for the majority of cases by using `unicode_width`, this is only best effort as terminals don't need to follow those expectations but for the most cases (traditional language scripts etc.) this should lead to better result. The only way around the uncertainty would be to perform the highlighting/cursor marking as we go, but this may not be as compatible with the `ratatui` framework. Closes #16312 # User-Facing Changes Fixed cursor position and search highlighting for non-ASCII characters, with the caveat mentioned above. # Tests + Formatting Manually tested
Implementation of the interactive explore
command pager.
Internal Nushell crate
This crate implements components of Nushell and is not designed to support plugin authors or other users directly.