fixed windows issue
This commit is contained in:
parent
ee5c845d7f
commit
899ebf37b0
|
@ -18,10 +18,12 @@ pub mod file_tree;
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
pub mod terminal;
|
pub mod terminal;
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
pub use terminal::*;
|
pub use terminal::*;
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
pub mod windows_terminal;
|
pub mod windows_terminal;
|
||||||
|
#[cfg(target_os = "windows")]
|
||||||
pub use windows_terminal::*;
|
pub use windows_terminal::*;
|
||||||
|
|
||||||
pub mod tabs;
|
pub mod tabs;
|
||||||
|
|
|
@ -31,7 +31,7 @@ impl CommandEntry {
|
||||||
CommandEntry {
|
CommandEntry {
|
||||||
env,
|
env,
|
||||||
command,
|
command,
|
||||||
result: vec![Line::error("General Kenobi")],
|
result: vec![Line::error("General Kenobi".to_string())],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ impl CommandEntry {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn send_command(command: String) -> CommandEntry {
|
pub fn send_command(command: String) -> CommandEntry {
|
||||||
return CommandEntry::new("windows>", "hello there");
|
return CommandEntry::new("windows>".to_string(), "hello there".to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue