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

Allows for trailing or leading whitespace in VV edits #5417

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

Birdtalon
Copy link
Contributor

@Birdtalon Birdtalon commented Jan 10, 2024

About the pull request

Removes trimming from VV edits for strings.
As a byproduct you can now provide the argument of trim = FALSE to tgui_input_text() to return untrimmed input.

Explain why it's good for the game

VV editors shouldn't have the input box arbitrarily trim their leading or trailing whitespace from editing variables.

Testing Photographs and Procedure

Screenshots & Videos

Put screenshots and videos here with an empty line between the screenshots and the <details> tags.

Changelog

🆑
code: Changing a string in VV no longer trims whitespace.
/:cl:

@github-actions github-actions bot added the Code Improvement Make the code longer label Jan 10, 2024
@realforest2001 realforest2001 added this pull request to the merge queue Jan 13, 2024
Merged via the queue into cmss13-devs:master with commit daed6cc Jan 13, 2024
28 checks passed
@Birdtalon Birdtalon deleted the nontrim_tgui_input branch February 25, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Improvement Make the code longer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants