mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-08 18:30:40 +00:00
Remove extra check (#357)
This commit is contained in:
parent
ad23dfe59b
commit
976cb99bdb
@ -303,10 +303,8 @@ impl TextArea {
|
||||
}
|
||||
|
||||
fn backspace(&mut self) {
|
||||
if self.cursor != 0 {
|
||||
self.move_left();
|
||||
self.delete();
|
||||
}
|
||||
}
|
||||
|
||||
fn delete(&mut self) {
|
||||
|
Loading…
Reference in New Issue
Block a user