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

arepl frequently has problems rendering when there is a lot of prints #94

Closed
Almenon opened this issue Aug 30, 2018 · 4 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Almenon
Copy link
Owner

Almenon commented Aug 30, 2018

Example:

grid = [[" " for x in range(s)] for x in range(s)]

grid[5][3] = "X" 

[print(item) for item in grid]

Every second execution arepl does not render properly.

Initial problem was #93, now it is better but still bad in this case.

@Almenon Almenon added the bug Something isn't working label Aug 30, 2018
@Almenon Almenon self-assigned this Aug 30, 2018
@Almenon
Copy link
Owner Author

Almenon commented Aug 30, 2018

I see four options here:

  • Raise a bug in vscode repo and wait for someone to fix it
  • Raise a bug in vscode repo and start looking into it to fix myself
  • Change timing in html rendering. What does 100ms look like?
  • Switch to new webview (I've been putting this off because enterprise users might still be stuck with a old vscode edition)

Third option is definitely easiest. I'll try that

@Almenon
Copy link
Owner Author

Almenon commented Aug 30, 2018

Changing the throttling to even 500ms didn't help too much :(

@Almenon
Copy link
Owner Author

Almenon commented Aug 30, 2018

I experiment more with this.... still a serious problem, even with just 2 or 3 prints it renders poorly.

@Almenon
Copy link
Owner Author

Almenon commented Sep 1, 2018

Opened the issue in vscode: microsoft/vscode#57749

@Almenon Almenon modified the milestones: v0.1.5, v0.1.6 Sep 13, 2018
@Almenon Almenon mentioned this issue Sep 16, 2018
Almenon added a commit that referenced this issue Sep 18, 2018
@Almenon Almenon closed this as completed Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant