nushell/crates/nu-cli/src
Darren Schroeder 029c586717
fix ansi bleed over on right prompt (#14357)
# Description

In certain situations, we had ansi bleed on the right prompt. This PR
fixes that by prefixing the right prompt with an ansi reset `\x1b[0m`.

This PR also adds some --log-level warn logging so we can see the ansi
escapes that form the prompts.

Closes https://github.com/nushell/nushell/issues/14268
2024-11-17 19:47:09 +08:00
..
commands Remove as_i64 and as_f64 (#14258) 2024-11-05 09:28:56 +01:00
completions add like and not-like operators as synonyms for the regex operators =~ and !~ (#14072) 2024-10-20 23:12:57 +02:00
menus Replace raw usize IDs with new types (#13832) 2024-09-30 13:20:15 +02:00
config_files.rs Reduce duplication in history path construction (#13475) 2024-10-11 07:51:50 -05:00
eval_cmds.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
eval_file.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
lib.rs Set current working directory at startup (#12953) 2024-09-25 13:04:26 -05:00
nu_highlight.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
print.rs Fix non-zero exit code errors in middle of pipeline (#13899) 2024-10-02 06:04:18 -05:00
prompt.rs Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00
prompt_update.rs fix ansi bleed over on right prompt (#14357) 2024-11-17 19:47:09 +08:00
reedline_config.rs Cut down unnecessary lint allows (#14335) 2024-11-15 19:24:39 +01:00
repl.rs Remove the NU_DISABLE_IR option (#14293) 2024-11-15 12:09:25 +08:00
syntax_highlight.rs Overhaul $in expressions (#13357) 2024-07-17 16:02:42 -05:00
util.rs Fix quoting in to nuon and refactor quoting functions (#14180) 2024-10-29 07:43:26 -05:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00