mirror of
https://github.com/nushell/nushell.git
synced 2025-08-11 04:54:01 +02:00
Fix Linux
This commit is contained in:
@ -49,7 +49,8 @@ fn main() -> Result<(), Box<Error>> {
|
||||
let h = crate::shell::Helper::new();
|
||||
let mut rl: Editor<crate::shell::Helper> = Editor::with_config(config);
|
||||
|
||||
if cfg!(windows) {
|
||||
#[cfg(windows)]
|
||||
{
|
||||
let _ = ansi_term::enable_ansi_support();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user