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"
           }
```
master
Daniel Kahn Gillmor 8 months ago committed by Simon Ser
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…
Cancel
Save