mirror of https://git.sr.ht/~rabbits/porporo
Do not eval a failed cmd
This commit is contained in:
parent
25ff5a712d
commit
5f543a97d4
|
@ -331,6 +331,7 @@ send_cmd(Varvara *dest, char c)
|
|||
focused = por_push(por_spawn(por_alloc(), cmd, 0), menu->x, menu->y, 0);
|
||||
for(i = 0; i < menu->clen; i++)
|
||||
por_connect(focused, menu->routes[i]);
|
||||
if(focused)
|
||||
uxn_eval(&focused->u, PAGE_PROGRAM);
|
||||
cmdlen = 0;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue