Skip to content

Commit

Permalink
Fix ControlClick ErrorCode
Browse files Browse the repository at this point in the history
  • Loading branch information
phil294 committed Jul 20, 2023
1 parent 27daaf4 commit 472e3c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/x11/mouse/control-click.cr
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class Cmd::X11::Mouse::ControlClick < Cmd::Base
true
end
end
return "1" if ! success
return success ? "0" : "1"
end
"0"
"1"
end
end

0 comments on commit 472e3c2

Please sign in to comment.