Home
last modified time | relevance | path

Searched refs:String (Results 1 – 10 of 10) sorted by relevance

/Held/src/utils/ui/
H A Dmod.rs14 pub info: String,
20 self.info = String::new(); in reset()
H A Duicore.rs36 info: String::new()
153 let str = String::from_utf8_lossy(&line.data).to_string(); in render_content()
H A Devent.rs76 String::from_utf8_lossy(&line.data[x as usize..]) in backspace()
/Held/src/utils/
H A Dfile.rs13 name: String,
20 pub fn new(file_path: String) -> io::Result<Self> { in new()
H A Dcursor.rs481 self.write(String::from_utf8_lossy(&self.buf.get_line(last_line)))?; in highlight()
490 self.write(String::from_utf8_lossy(&self.buf.get_line(self.y())))?; in highlight()
/Held/src/config/
H A Dcmd.rs11 pub file: Option<String>,
H A Dlastline_cmd.rs46 pub command: String,
47 pub args: Vec<String>,
52 pub fn process(ui: &mut MutexGuard<UiCore>, cmd: String) -> WarpUiCallBackType { in process()
/Held/src/
H A Dapp.rs17 pub fn new(file_path: Option<String>, setting: AppSetting) -> io::Result<Self> { in new() argument
/Held/src/utils/ui/mode/
H A Dmode.rs678 ui.cursor.write(String::from_utf8_lossy( in input_data()
709 let cmd = String::from_utf8_lossy(&buf).to_string(); in enter()
774 ui.cursor.write(String::from_utf8_lossy(&data))?; in input_data()
H A Dnormal.rs589 String::from_utf8_lossy(&ui.buffer.get_line(old_y)[old_x as usize..]).to_string(); in exec_f_cmd()
615 String::from_utf8_lossy(&ui.buffer.get_line(old_y)[..old_x as usize]).to_string(); in exec_F_cmd()