Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Companion textinput Carriage return/Line feed

It seems the OS drops any CR, LF, CRLF characters on input

 

Is it possible to enter / detect carriage returns or line feeds in text entered in a companion setting textinput field, and if so how?

Author | ch, passion for improvement.

Best Answer
0 Votes
2 REPLIES 2

I know it's not a true solution but you could always ask the user to add a specific string of characters like "//" for a new line and parse the input to replace with "\n"

 

Or you could use separate inputs for each line.

 

Only if you can't come across a better solution.

Best Answer
0 Votes

Thanks @kozm0naut - am using "." for now but was hoping for a solution for pasting normal text.

Author | ch, passion for improvement.

Best Answer
0 Votes