Skip to content

Commit dcb142b

Browse files
dkgemersion
authored andcommitted
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" } ```
1 parent 9e14651 commit dcb142b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sway/sway-ipc.7.scd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ An object with a single string property containing the contents of the config
10461046
*Example Reply:*
10471047
```
10481048
{
1049-
"config": "set $mod Mod4\nbindsym $mod+q exit\n"
1049+
"config": "set $mod Mod4\\nbindsym $mod+q exit\\n"
10501050
}
10511051
```
10521052

0 commit comments

Comments
 (0)