You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See issue #95 which happened because I was lax about overriding the width value for native terminals.
At this point, I'm fairly confident width logic works right because I have so much existing code using this feature. But it would be really nice, still, to have a test for it.
Step 1) Allow passing the width value into TestTerminal
Step 2) Write a few tests to stress / verify long lines render / repaint as expected.
The text was updated successfully, but these errors were encountered:
Actually, this is nastier than I thought. To support this, you'd have to reimplement terminal virtual code handling in the test terminal (since it would need to know how long lines are, with control codes removed, so that it can append newlines at the right place). This would turn the intentionally simple and dumb TestTerminal class into something a bit more sophisticated.
This is doable but honestly probably not worth it. Going to close this out for now. A few users and I tested Terminal#width behavior across all the different platforms and it's working, so consider that an integration test :)
See issue #95 which happened because I was lax about overriding the width value for native terminals.
At this point, I'm fairly confident width logic works right because I have so much existing code using this feature. But it would be really nice, still, to have a test for it.
Step 1) Allow passing the width value into
TestTerminal
Step 2) Write a few tests to stress / verify long lines render / repaint as expected.
The text was updated successfully, but these errors were encountered: