Skip to content

Commit

Permalink
Merge pull request #36 from taypo/feature/add_ctrl_d_support
Browse files Browse the repository at this point in the history
Exit redial with CTRL+D
  • Loading branch information
taypo committed Oct 7, 2019
2 parents c78fbde + 338229c commit d28e8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redial/redial.py
Expand Up @@ -58,7 +58,7 @@ def on_key_press(self, key: str, w: UITreeWidget):

parent_node = None if w.get_node().get_parent() is None else w.get_node().get_parent().get_value()

if key in 'qQ':
if key in ['q', 'Q', 'ctrl d']:
self.command = EXIT_REDIAL
raise urwid.ExitMainLoop()

Expand Down

0 comments on commit d28e8a2

Please sign in to comment.