Fix cursor placement in nick dialog
This commit is contained in:
parent
73cb568702
commit
099cb8d4f7
1 changed files with 2 additions and 2 deletions
|
|
@ -30,9 +30,9 @@ struct InnerEditorState {
|
|||
impl InnerEditorState {
|
||||
fn new(text: String) -> Self {
|
||||
Self {
|
||||
text,
|
||||
idx: 0,
|
||||
idx: text.len(),
|
||||
last_width: 0,
|
||||
text,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue