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

Inserting newline sometimes causes strange renders #340

Open
ChristopherChudzicki opened this issue Apr 18, 2022 · 1 comment
Open

Inserting newline sometimes causes strange renders #340

ChristopherChudzicki opened this issue Apr 18, 2022 · 1 comment

Comments

@ChristopherChudzicki
Copy link

ChristopherChudzicki commented Apr 18, 2022

Thanks for this great library! I came across the behavior below today. It seems as if inserting text renders differently than typing the text from start to finish (or copy-pasting it).

For example, below, the text is

insert one newlin
e

but looks differently if typed from start-to-fnish or if the newline is inserted.

This seems to happen when inserting a non-newline character would cause wrapping to occur.

Apr-18-2022 13-32-34

@ChristopherChudzicki ChristopherChudzicki changed the title Newlines can behave incorrectly. Inserting one newline sometimes inserts multiple instead Apr 18, 2022
@ChristopherChudzicki ChristopherChudzicki changed the title Inserting one newline sometimes inserts multiple instead Inserting newline sometimes causes strange renders Apr 18, 2022
@Andarist
Copy link
Owner

I'm afraid that I won't have time to look into this - but I would gladly accept a PR fixing the issue.

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

No branches or pull requests

2 participants