mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
0.3.4: fix the *other* off-by-1 error
This commit is contained in:
parent
2f561edeea
commit
b0bb7f818b
3 changed files with 7 additions and 7 deletions
|
|
@ -39,7 +39,7 @@ impl<T: AsRef<str>> Content<TuiOut> for TrimStringRef<'_, T> {
|
|||
break
|
||||
}
|
||||
if let Some(cell) = target.buffer.cell_mut(Position {
|
||||
x: area.x() + width,
|
||||
x: area.x() + width - 1,
|
||||
y: area.y()
|
||||
}) {
|
||||
cell.set_char(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue