Move cursor position to start on left boundary click
This commit is contained in:
parent
36e7ac2048
commit
938177e225
1 changed files with 2 additions and 0 deletions
|
|
@ -209,6 +209,8 @@ where
|
||||||
0,
|
0,
|
||||||
self.value.len(),
|
self.value.len(),
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
self.state.cursor_position = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue