mirror of
https://github.com/nushell/nushell.git
synced 2025-04-25 05:38:20 +02:00
# Description This pr addresses the comment: https://github.com/nushell/nushell/issues/11791#issuecomment-2308384155 It's caused by if the last row have a very different format to the first row, the value of `end_char` will exceed the `line_char_boundaries`. Adding a guard for it should avoid such panic. # User-Facing Changes The following code should no longer panic: ```shell "nu_plugin_highlight = '1.2.2+0.97.1' # A nushell plugin for syntax highlighting trace_nu_plugin = '0.3.1' # A wrapper to trace Nu plugins nu_plugin_bash_env = '0.13.0' # Nu plugin bash-env nu_plugin_from_sse = '0.4.0' # Nushell plugin to convert a HTTP server sent event stream to structured data ... and 90 crates more (use --limit N to see more)" | detect columns -n --guess ``` # Tests + Formatting Added 1 test. |
||
---|---|---|
.. | ||
base | ||
encode_decode | ||
format | ||
split | ||
str_ | ||
char_.rs | ||
detect_columns.rs | ||
guess_width.rs | ||
mod.rs | ||
parse.rs |