Searched refs:draw (Results 1 – 4 of 4) sorted by relevance
54 pub fn draw(&mut self, app: &mut App) -> AppResult<()> { in draw() method55 self.terminal.draw(|frame| ui::render(app, frame))?; in draw()
82 tui.draw(&mut app)?; in start_tui_app()
1535 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 …]
507 let mut draw = DrawRegion::default(); in do_write() localVariable529 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()