mirror of https://github.com/helix-editor/helix
Merge 1007e0c3df
into 4281228da3
commit
eb561796a8
|
@ -779,8 +779,8 @@ impl Component for Prompt {
|
||||||
col += self.line[self.cursor..]
|
col += self.line[self.cursor..]
|
||||||
.graphemes(true)
|
.graphemes(true)
|
||||||
.next()
|
.next()
|
||||||
.unwrap()
|
.map(|g| g.width())
|
||||||
.width();
|
.unwrap_or(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
let line = area.height as usize - 1;
|
let line = area.height as usize - 1;
|
||||||
|
|
Loading…
Reference in New Issue