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

Escape characters for showDialog and showPrompt #285

Open
sxl634 opened this issue Aug 29, 2023 · 1 comment
Open

Escape characters for showDialog and showPrompt #285

sxl634 opened this issue Aug 29, 2023 · 1 comment

Comments

@sxl634
Copy link

sxl634 commented Aug 29, 2023

Escape characters such as "\n" work for showQuestion, but don't work for showDialog and showPrompt. When you use \n (or other similar escape characters), they just vanish from the message without their intended effect. But for some reason they work for showQuestion, so when I used \n in a showQuestion message, a new line was created. Can you allow escape characters to be used for the other 2 show functions?

Example code:

showDialog(title="test", message = "test \n test")
showPrompt(title="test", message = "test \n test")
showQuestion(title="test", message = "test \n test")
@notPlancha
Copy link

Want to add that this doesn't seem like an issue on older (<2023) versions, as it's using a different function to prompt (these prompts look self implemented), so It's probably that it's rstudio's fault here)

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