1k commits 🥳 (Fixed delete key not working in input)

This commit is contained in:
2025-09-05 20:26:37 +02:00
parent 5cf59f751d
commit 916818f915
+1 -1
View File
@@ -48,7 +48,7 @@ impl Element for Input {
}
}
KeyCode::Delete => {
if self.cursor > 0 && self.state.get().len() > self.cursor {
if self.state.get().len() > self.cursor {
self.state.get().remove(self.cursor);
}
}