helix-mods/helix-term
Mike Trinkala 9d73a0d112
Fix the infinite loop when copying the cursor to the top of the file (#5888)
Example:
```
test
testitem
```

Select line 2 with x, then type Alt-C; Helix will go into an infinite
loop. The saturating_sub keeps the head_row and anchor_row pinned at 0,
and a selection is never made since the first line is too short.
2023-02-09 23:28:33 +09:00
..
src Fix the infinite loop when copying the cursor to the top of the file (#5888) 2023-02-09 23:28:33 +09:00
tests Fix the infinite loop when copying the cursor to the top of the file (#5888) 2023-02-09 23:28:33 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs feat(lsp): pass client_info on initialization (#4904) 2022-12-08 21:57:03 -06:00
Cargo.toml build(deps): bump indoc from 1.0.8 to 2.0.0 (#5742) 2023-01-30 17:47:30 -06:00