Fix Linux

This commit is contained in:
Yehuda Katz
2019-05-17 08:30:10 -07:00
parent 3ca0e2bf0c
commit 9d8bb48d3f
3 changed files with 19 additions and 5 deletions

View File

@ -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();
}