Searched refs:String (Results 1 – 10 of 10) sorted by relevance
14 pub info: String,20 self.info = String::new(); in reset()
36 info: String::new()153 let str = String::from_utf8_lossy(&line.data).to_string(); in render_content()
76 String::from_utf8_lossy(&line.data[x as usize..]) in backspace()
13 name: String,20 pub fn new(file_path: String) -> io::Result<Self> { in new()
481 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()
11 pub file: Option<String>,
46 pub command: String,47 pub args: Vec<String>,52 pub fn process(ui: &mut MutexGuard<UiCore>, cmd: String) -> WarpUiCallBackType { in process()
17 pub fn new(file_path: Option<String>, setting: AppSetting) -> io::Result<Self> { in new() argument
678 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()
589 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()