From e14a02540b76c310c8733ba4fe2d7e4a3454a239 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Fri, 28 Jul 2017 16:30:20 -0400 Subject: [PATCH] sigil prefixed commands should be interpreted rather than sent when in pty mode --- tide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tide.c b/tide.c index 3eaf804..db18373 100644 --- a/tide.c +++ b/tide.c @@ -105,7 +105,7 @@ static void exec(char* cmd) { if (tag) { while (*cmd && !isspace(*cmd++)); tag_exec(tag, (*cmd ? stringdup(cmd) : NULL)); - } else if (pty_active()) { + } else if (pty_active() && !rissigil(*cmd)) { pty_send(cmd, NULL); } else { cmd_exec(cmd); -- 2.49.0