formular lesen (binär) und openspec für codex
This commit is contained in:
@@ -50,19 +50,21 @@ impl Widget for ScreenWidget<'_> {
|
||||
let mut s = String::new();
|
||||
s.push(c.ch);
|
||||
cell.set_symbol(&s);
|
||||
cell.set_style(
|
||||
Style::default().fg(basic_color(c.fg)).bg(basic_color(c.bg)),
|
||||
);
|
||||
cell.set_style(Style::default().fg(basic_color(c.fg)).bg(basic_color(c.bg)));
|
||||
}
|
||||
}
|
||||
}
|
||||
// Cursor als invertierte Zelle darstellen (Terminal-Cursor wird in
|
||||
// der Forms-/Runtime-Schicht später gezielt gesteuert).
|
||||
if self.0.cursor_visible && self.0.csrlin() <= rows && self.0.pos() <= cols {
|
||||
let (cx, cy) = (area.x + (self.0.pos() - 1) as u16, area.y + (self.0.csrlin() - 1) as u16);
|
||||
let (cx, cy) = (
|
||||
area.x + (self.0.pos() - 1) as u16,
|
||||
area.y + (self.0.csrlin() - 1) as u16,
|
||||
);
|
||||
if let Some(cell) = buf.cell_mut((cx, cy)) {
|
||||
cell.set_style(
|
||||
cell.style().add_modifier(ratatui::style::Modifier::REVERSED),
|
||||
cell.style()
|
||||
.add_modifier(ratatui::style::Modifier::REVERSED),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user