Skip to content

Commit

Permalink
sway-ipc(7): Escape backslashes correctly in GET_CONFIG output
Browse files Browse the repository at this point in the history
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"
           }
```
  • Loading branch information
dkg authored and emersion committed Mar 30, 2024
1 parent 9e14651 commit dcb142b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway/sway-ipc.7.scd
Expand Up @@ -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"
}
```

Expand Down

0 comments on commit dcb142b

Please sign in to comment.