Skip to content

Commit

Permalink
remove conflict with Ctrl-C -- Ctrl-X clears now
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jul 6, 2023
1 parent 086efd3 commit 842407a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions gui/launcher.lua
Original file line number Diff line number Diff line change
Expand Up @@ -518,14 +518,6 @@ end
function MainPanel:onInput(keys)
if MainPanel.super.onInput(self, keys) then
return true
elseif keys.CUSTOM_CTRL_C then
if self.focus_group.cur == self.subviews.editfield then
self.subviews.edit:set_text('')
self.on_edit_input('')
else
self.focus_group.cur:setText('')
end
return true
elseif keys.CUSTOM_CTRL_D then
dev_mode = not dev_mode
self.update_autocomplete(get_first_word(self.subviews.editfield.text))
Expand Down

0 comments on commit 842407a

Please sign in to comment.