re-imported job/signal code from old implementation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::{fs::{File, OpenOptions}, ops::{Deref, DerefMut}, path::PathBuf};
|
||||
use std::{fs::File, ops::{Deref, DerefMut}, path::PathBuf};
|
||||
|
||||
use bitflags::bitflags;
|
||||
use rustyline::history::{History, SearchResult};
|
||||
|
||||
@@ -3,9 +3,8 @@ pub mod readline;
|
||||
|
||||
use std::path::Path;
|
||||
|
||||
use history::FernHist;
|
||||
use readline::FernReadline;
|
||||
use rustyline::{error::ReadlineError, history::{FileHistory, History}, Config, Editor};
|
||||
use rustyline::{error::ReadlineError, history::FileHistory, Editor};
|
||||
|
||||
use crate::{libsh::{error::ShResult, term::{Style, Styled}}, prelude::*};
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ use std::borrow::Cow;
|
||||
|
||||
use rustyline::{completion::Completer, highlight::Highlighter, hint::{Hint, Hinter}, validate::{ValidationResult, Validator}, Helper};
|
||||
|
||||
use crate::{libsh::term::{Style, Styled}, prelude::*};
|
||||
use crate::libsh::term::{Style, Styled};
|
||||
|
||||
pub struct FernReadline {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user