From: Michael D. Lowis Date: Fri, 28 Jul 2017 20:30:20 +0000 (-0400) Subject: sigil prefixed commands should be interpreted rather than sent when in pty mode X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=e14a02540b76c310c8733ba4fe2d7e4a3454a239;p=projs%2Ftide.git sigil prefixed commands should be interpreted rather than sent when in pty mode --- 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);