Closed unique1o1 closed 2 years ago
when the cursor is on the 0 index and the user keeps on deleting the characters on the right until there are no more characters left, slice bounds out of range occurs.
This PR fixes the issue.
when the cursor is on the 0 index and the user keeps on deleting the characters on the right until there are no more characters left, slice bounds out of range occurs.
This PR fixes the issue.