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

Call suspend() periodically to avoid viewer freeze #1247

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

maxim-productengine
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the c/cpp label Apr 16, 2024
mResultOutput->pasteTextWithLinebreaks(result.asString());
LLStyle::Params params;
params.readonly_color = LLUIColorTable::instance().getColor("LtRed");
mResultOutput->appendText(result.asString(), false, params);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this preserve line breaks in the message?

Copy link
Contributor Author

@maxim-productengine maxim-productengine Apr 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

Copy link
Collaborator

@nat-goodspeed nat-goodspeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

@maxim-productengine maxim-productengine merged commit 6c2a278 into release/luau-scripting Apr 16, 2024
11 checks passed
@maxim-productengine maxim-productengine deleted the lua-interrupts branch April 16, 2024 18:17
@github-actions github-actions bot locked and limited conversation to collaborators Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants