mirror of https://github.com/helix-editor/helix
Compare commits
3 Commits
b1421e2b14
...
eb561796a8
Author | SHA1 | Date |
---|---|---|
|
eb561796a8 | |
|
4281228da3 | |
|
1007e0c3df |
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue