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

Use the OS-specific newline when passing code to FSI #90

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

cannorin
Copy link
Member

@cannorin cannorin commented Nov 1, 2024

Should fix #88

This PR makes sendFsi-like functions to use the OS-specific newline (\r\n for Windows, \n for anything else including Cygwin) to concatenate multiple lines.

Use `has('win32')` to counter the case where a Windows user is editing
UNIX text files
@cannorin cannorin merged commit c7e8973 into master Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FSI terminal is receiving one long line (no linebreaks) on Windows
1 participant