diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2024-03-29 18:46:08 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2024-03-29 18:46:08 -0400 |
| commit | 49cdeaf487d9114f84997d92d75f67a0c1e63ed7 (patch) | |
| tree | deb6f015f3ab94a3c610e4dbaf75295aac15cdf0 | |
| parent | bf0c6182bbdbbfb1dfd3e4402d1406471348f63e (diff) | |
sway-ipc(7): Escape backslashes correctly in GET_CONFIG output
Without this change, i see the following in the sway-ipc manpage:
```
9. GET_CONFIG
MESSAGE
Retrieve the contents of the config that was last loaded
REPLY
An object with a single string property containing the contents of the
config
Example Reply:
{
"config": "set $mod Mod4nbindsym $mod+q exitn"
}
```
| -rw-r--r-- | sway/sway-ipc.7.scd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/sway-ipc.7.scd b/sway/sway-ipc.7.scd index c9895e52..2f697248 100644 --- a/sway/sway-ipc.7.scd +++ b/sway/sway-ipc.7.scd @@ -1046,7 +1046,7 @@ An object with a single string property containing the contents of the config *Example Reply:* ``` { - "config": "set $mod Mod4\nbindsym $mod+q exit\n" + "config": "set $mod Mod4\\nbindsym $mod+q exit\\n" } ``` |
