Skip to content

Commit

Permalink
[exmode] Allow spaces after semicolon. Refs #196
Browse files Browse the repository at this point in the history
  • Loading branch information
rkd77 committed Nov 23, 2022
1 parent 4d1d4f1 commit 3c8e625
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dialogs/exmode.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ try_exmode_exec(struct session *ses, const char *val)
while (1) {
char *command, *args;

while (*next && isspace((unsigned char)(*next))) next++;

command = args = next;

while (*command == ':') command++;
Expand Down

0 comments on commit 3c8e625

Please sign in to comment.