mirror of https://github.com/helix-editor/helix
On Windows for example the behavior of this function typically diverges from the usual behavior on Unix. Instead of checking that the inserted string starts with `'\n'` (untrue for for CRLF line endings) we need to check that the first grapheme cluster in the string is a line ending. (All line endings are single grapheme clusters.) |
||
---|---|---|
.. | ||
test | ||
integration.rs |