Stefan Kupresak 67b1dcae44
Fix a panic bug in platform ansi logic (Closes #9448) (#9458)
Fixes #9448 

# Description
Attempts to fix a bug from the linked issue.

# User-Facing Changes
 - The editor doesn't crash on wrong commands
# Tests + Formatting

Tests cover my changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- crates/nu-std/tests/run.nu` to run the tests for the
standard library
2023-06-16 11:40:03 -05:00
..
2023-06-09 08:00:40 -05:00
2022-11-22 16:58:11 -08:00
2023-03-15 18:54:55 +13:00
2023-03-15 18:54:55 +13:00
2023-06-13 13:33:00 -05:00
2022-12-22 00:33:26 +02:00
2022-09-11 11:48:27 +03:00
2023-03-15 18:54:55 +13:00
2023-03-15 18:54:55 +13:00
2023-04-28 13:25:44 +02:00
2022-02-07 14:54:06 -05:00
2023-03-15 18:54:55 +13:00
2023-03-15 18:54:55 +13:00
2023-03-15 18:54:55 +13:00
2023-04-28 13:25:44 +02:00
2023-03-15 18:54:55 +13:00
2023-03-15 18:54:55 +13:00
2022-09-11 11:48:27 +03:00
2023-03-28 12:40:29 -07:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-03-15 18:54:55 +13:00
2023-04-28 13:25:44 +02:00
2023-03-17 11:53:46 +13:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-04-28 13:25:44 +02:00
2023-02-27 20:44:05 +13:00
2023-03-17 11:53:46 +13:00
2023-03-15 18:54:55 +13:00