Skip to content

Commit

Permalink
Remove esc option
Browse files Browse the repository at this point in the history
  • Loading branch information
mnemnion committed Jan 14, 2024
1 parent 232c1f6 commit 563d5dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/ToggleMenus.jl
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,6 @@ end

function keypress(menu::ToggleMenu, i::UInt32)
char = Char(i)
if char == '\e'
cancel(menu)
return true
end
if char == '\t' || char == 'ϩ' # right arrow key
menu.selections[menu.cursor] = _nextselection(menu)
elseif char == 'Ϩ' # left arrow key
Expand Down

0 comments on commit 563d5dd

Please sign in to comment.