Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🆕 The TTY backend should provide different modes for handling newlines #74

Closed
8 tasks done
favonia opened this issue Sep 28, 2023 · 0 comments · Fixed by #75
Closed
8 tasks done

🆕 The TTY backend should provide different modes for handling newlines #74

favonia opened this issue Sep 28, 2023 · 0 comments · Fixed by #75
Labels

Comments

@favonia
Copy link
Contributor

favonia commented Sep 28, 2023

  1. The Unicode-compliant mode: recognize all newline sequences:
  • LF U+000A
  • CR U+000D
  • CRLF U+000D U+000A
  • VT U+000B
  • FF U+000C
  • NEL U+0085 (UTF-8: 0xC2 0x85)
  • LS U+2028 (UTF-8: 0xE2 0x80 0xA8)
  • PS U+2029 (UTF-8: 0xE2 0x80 0xA9)
  1. The traditional mode that is compatible with the LSP: only CR, LF, and CRLF are recognized.

In either mode, report any inconsistency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant