mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
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" } ```
This commit is contained in:
parent
9e14651077
commit
dcb142bf5e
|
@ -1046,7 +1046,7 @@ An object with a single string property containing the contents of the config
|
||||||
*Example Reply:*
|
*Example Reply:*
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"config": "set $mod Mod4\nbindsym $mod+q exit\n"
|
"config": "set $mod Mod4\\nbindsym $mod+q exit\\n"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue