Julow / Unexpected-Keyboard

A lightweight virtual keyboard for developers.
GNU General Public License v3.0
1.25k stars 168 forks source link

how to make a newline key #624

Closed TaokyleYT closed 2 months ago

TaokyleYT commented 2 months ago

I tried \n, doesn't work (ofc, this is xml) I looked through KeyValue and didnt find newline keyword &#xA or &#10 doesn't work too

how to newline

Spike-from-NH commented 2 months ago

@JapanYoshi's emerging documentation (https://github.com/JapanYoshi/DocumentXML/wiki/Custom-layouts) suggests that key="enter" may be the keyword you need.

I'm surprised your two guesses didn't work, but try following them with ;.

TaokyleYT commented 2 months ago

not the enter key because some platform just end/submit your prompt instead of newline when you press enter, but pasting newline char did work. I dont wanna waste my paste key for that as there is no clipboard feature and can only copy 1 string at a time.

oh the semicolon works, thanks for the help.

Spike-from-NH commented 2 months ago

@JapanYoshi, please note newline in your section on characters that need to be escaped. key="
"

Julow commented 1 month ago

It doesn't make sense not to allow that in layouts, so here it is: d96414c