diff --git a/src/make_prompt.rs b/src/make_prompt.rs index 6e3978a..e4fa4a0 100644 --- a/src/make_prompt.rs +++ b/src/make_prompt.rs @@ -166,7 +166,7 @@ fn get_editor() -> String fn shell_color_str(string_in: &T, color: &str) -> String { - format!("\x1b[{color}m{string_in}\x1b[00m") + format!("\x01\x1b[{color}m\x02{string_in}\x01\x1b[00m\x02") } fn getenv(varname: &str) -> String