fixed panic on pasting into non updating input

This commit is contained in:
FabianLars 2020-03-14 10:51:36 +01:00
parent 731e6752eb
commit b632dce0da

View file

@ -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(),
); );