Skip to content

Commit

Permalink
Merge pull request #725 from mattrose/724-unset-keybinding-toggle_scr…
Browse files Browse the repository at this point in the history
…ollbar-prevents-right-click-menu-from-opening

Fix context menu keybinding reading.
  • Loading branch information
mattrose authored Mar 8, 2023
2 parents 9eaf0cb + e4be854 commit 8ae6f93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions terminatorlib/terminal_popup_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def __init__(self, terminal):

def get_menu_item_mask(self, maskstr):
mask = 0
if maskstr is None:
return mask
maskstr = maskstr.lower()
if maskstr.find('<Shift>'.lower()) >= 0:
mask = mask | Gdk.ModifierType.SHIFT_MASK
Expand Down

0 comments on commit 8ae6f93

Please sign in to comment.