Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 4 of 4) sorted by relevance

/DragonOS/tools/debugging/logmonitor/src/
H A Dtui.rs54 pub fn draw(&mut self, app: &mut App) -> AppResult<()> { in draw() method
55 self.terminal.draw(|frame| ui::render(app, frame))?; in draw()
H A Dmain.rs82 tui.draw(&mut app)?; in start_tui_app()
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs1535 pub fn console_write_normal(&mut self, mut tc: u32, c: u32, draw: &mut DrawRegion) -> bool { in console_write_normal()
1567 self.flush(draw); in console_write_normal()
1574 self.flush(draw); in console_write_normal()
1603 if self.should_update() && draw.x.is_none() { in console_write_normal()
1605 draw.x = Some(self.state.x as u32); in console_write_normal()
1606 draw.offset = self.pos; in console_write_normal()
1612 draw.size += 1; in console_write_normal()
1616 draw.size += 1; in console_write_normal()
1628 self.flush(draw); in console_write_normal()
1748 pub fn flush(&self, draw: &mut DrawRegion) { in flush()
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs507 let mut draw = DrawRegion::default(); in do_write() localVariable
529 vc_data_guard.flush(&mut draw); in do_write()
534 if !vc_data_guard.console_write_normal(tc, ch, &mut draw) { in do_write()
539 vc_data_guard.flush(&mut draw); in do_write()