fixed panic on pasting into non updating input
This commit is contained in:
parent
731e6752eb
commit
b632dce0da
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
self.value.insert_many(
|
self.value.insert_many(
|
||||||
self.state.cursor.end(),
|
self.state.cursor.end().min(self.value.len()),
|
||||||
content.clone(),
|
content.clone(),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue