diff options
Diffstat (limited to 'doc/Possible-key-values.md')
| -rw-r--r-- | doc/Possible-key-values.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/Possible-key-values.md b/doc/Possible-key-values.md index cee4b69..e59a523 100644 --- a/doc/Possible-key-values.md +++ b/doc/Possible-key-values.md @@ -40,13 +40,12 @@ To get this character... | ...you can type :---- | :------ A literal newline character, which is different from `enter` and `action` in certain apps. | `\n` A literal tab character, which is different from `tab` in certain apps. | `\t` -`\` | `\\` `&` | `&` `<` | `<` `>` | `>` `"` | `"` -The characters `?`, `#`, and `@` do not need to be escaped when writing custom layouts. Internally, they can be escaped by prepending backslash (by typing `\?`, `\#`, and `\@`). +The characters `\` (unless followed by n or t), `?`, `#`, and `@` do not need to be escaped when writing custom layouts. When writing a layout to be included in the app (in [srcs/layouts](https://github.com/Julow/Unexpected-Keyboard/tree/master/srcs/layouts)), they are represented by typing `\\`, `\?`, `\#`, and `\@`. The characters `,` and `:` can be escaped in a key value, using single quotes. For example, this macro defines a key with legend `http` that sends a string containing `:`: `<key c="http:home,'https://'" />` For simplicity, `,` and `:` cannot be escaped in the key legend. |
