nushell/crates/nu-command/src
Maxim Zhiburt 8deecc0137
table --collapse dont do truncation return message instead (#8172)
Reverts #8042

I've just noticed that #8042 was merged, but I didn't addressed your
@fdncred last comment.
This PR reverts #8042 and returns a message in cases where we need
truncation/wrapping.


157b7e0b60/crates/nu-command/tests/commands/table.rs (L234-L240)

Signed-off-by: Maxim Zhiburt <zhiburt@gmail.com>
2023-02-22 18:35:45 +00:00
..
bits Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
bytes Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
charting Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
conversions Fix one error message in into string (#8163) 2023-02-22 09:05:19 +00:00
core_commands check external failed in let assignment (#8164) 2023-02-22 17:35:09 +00:00
database Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
dataframe Update polars to 0.27.2 (#8154) 2023-02-21 23:32:28 +00:00
date report which datetime couldn't be converted (#7980) 2023-02-06 14:17:07 -06:00
debug move ast command to the debug group (#8077) 2023-02-14 18:47:34 +00:00
deprecated add benchmark to deprecated commands (#8046) 2023-02-11 21:39:55 +00:00
env TEST: add the output to the new with-env example (#8148) 2023-02-21 10:15:35 +00:00
experimental relocate debug commands (#8071) 2023-02-13 16:39:07 +00:00
filesystem Support URLs in start command (#7799) 2023-02-16 13:33:25 +00:00
filters Add select extra_usage explaining relationship to get (#8146) 2023-02-22 13:00:16 +00:00
formats show more informaiton when there are toml errors (#8140) 2023-02-20 18:50:31 +00:00
generators Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
hash Make plugin commands support examples. (#7984) 2023-02-08 16:14:18 -06:00
math Update few examples of math commands (#7987) 2023-02-06 13:43:00 +01:00
misc Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
network Final rework for the HTTP commands (#8135) 2023-02-22 12:56:11 +00:00
path Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
platform interrupt input command with Ctrl + C (#8159) 2023-02-22 17:19:19 +00:00
random Use imported names in Command::run signatures (#7967) 2023-02-05 22:17:46 +01:00
shells Add more input/output type annotations (#7532) 2022-12-21 20:20:46 +01:00
strings Improve error when regex rejects pattern. Resolution of #8037 (#8050) 2023-02-12 13:25:40 +00:00
system relocate debug commands (#8071) 2023-02-13 16:39:07 +00:00
viewers table --collapse dont do truncation return message instead (#8172) 2023-02-22 18:35:45 +00:00
default_context.rs move ast command to the debug group (#8077) 2023-02-14 18:47:34 +00:00
example_test.rs Remove deprecated --numbered flag from four commands (#7777) 2023-02-02 16:59:58 -06:00
input_handler.rs Standardise the use of ShellError::UnsupportedInput and ShellError::TypeMismatch and add spans to every instance of the former (#7217) 2022-12-23 01:48:53 -05:00
lib.rs relocate debug commands (#8071) 2023-02-13 16:39:07 +00:00
progress_bar.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
sort_utils.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00