pull/14050/merge
Alexander 2025-07-24 18:09:42 +01:00 committed by GitHub
commit eb561796a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -779,8 +779,8 @@ impl Component for Prompt {
col += self.line[self.cursor..]
.graphemes(true)
.next()
.unwrap()
.width();
.map(|g| g.width())
.unwrap_or(0);
}
let line = area.height as usize - 1;