You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I quit the menu and not select any item, unlike dmenu or bemenu which return an exit code of one, tofi returns an exit code of zero.
As a very simple example, aborting selection using dmenu will give the expected result (i.e. not printing anything to the screen), while aborting it using tofi will print 0:
{ ls | dmenu; } && echo $? --> { ls | tofi; } && echo $? --> 0
The text was updated successfully, but these errors were encountered:
Yeah, I have it installed from the AUR, but I tried compiling the latest release myself, just in case, and the problem persists.
Then I tried compiling it from the master branch and the issue seems to be resolved, but I've got another issue of it not treating my remapped Caps Lock key as an Escape key, so it doesn't exit unless I press the actual Escape key or one of the other quit key bindings.
Closing now as compiling from master fixes the issue, but has the side effect of it not recognizing remapped CapsLock as an Escape key, which needs to be addressed in another issue (btw, after I made the switch to keyd, the latter issue got fixed for me too).
When I quit the menu and not select any item, unlike
dmenu
orbemenu
which return an exit code of one,tofi
returns an exit code of zero.As a very simple example, aborting selection using
dmenu
will give the expected result (i.e. not printing anything to the screen), while aborting it usingtofi
will print 0:{ ls | dmenu; } && echo $?
-->{ ls | tofi; } && echo $?
-->0
The text was updated successfully, but these errors were encountered: