diff options
author | Nathan Vegdahl | 2021-06-24 06:53:22 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-24 09:25:56 +0000 |
commit | 8935e7a8791eea391a1de41a78278b4bf5dd241d (patch) | |
tree | 78b221c467351b10b2157a626cc054239cea3800 /helix-tui/tests/terminal.rs | |
parent | 394629ab73442ed07af210fbe2dddecd60b83300 (diff) |
Fix open-new-line command for CRLF, as well as other bugs.
Fixes #363.
I set out to fix issue #363, but after fixing it discovered some
other things were wrong with the command while testing. In
summary:
- #363 was because it was still assuming a line ending width
of 1 char in its indexing calculations, even when actually
inserting CRLF.
- Aside from #363, it actually needed to set `line_end_index`
to zero for *all* calculations that use it when line == 0,
but it was only doing so for a single calculation.
Diffstat (limited to 'helix-tui/tests/terminal.rs')
0 files changed, 0 insertions, 0 deletions