From 6002db6b1a25d19692855b2624f4619b99595b13 Mon Sep 17 00:00:00 2001 From: Ken Gilmer Date: Sun, 9 Jun 2019 10:02:33 -0700 Subject: [PATCH] Add example for i3 command w/ escaped substring. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2c5cc90..76000c6 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,11 @@ if (!conn.send_command("exit")) { } ``` +Quoted strings can be passed like this: +```c++ +conn.send_command("[workspace=\" 1 \""] move workspace to output eDP-1"); +``` + ## Version i3 support It is written according to the *current* specification, so some of new features in IPC can be not-implemented. If there is some of them, please notice at issues page.