mirror of
https://github.com/swaywm/sway.git
synced 2025-11-22 06:59:48 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue