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:
Daniel Kahn Gillmor 2024-03-29 18:46:08 -04:00 committed by Simon Ser
parent 9e14651077
commit dcb142bf5e

View file

@ -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"
} }
``` ```