pindexis / marker

The terminal command palette
MIT License
2.02k stars 106 forks source link

Marker should catch all KeyboardInterrupts and fail silently #23

Open langston-barrett opened 8 years ago

langston-barrett commented 8 years ago

This shouldn't happen, it should just exit quietly.

dotfiles ➤  marker mark --command='***'
command: ***
Alias?:^CTraceback (most recent call last):
  File "/home/siddharthist/.config/marker/bin/marker", line 65, in <module>
    parse_arguments()
  File "/home/siddharthist/.config/marker/bin/marker", line 31, in parse_arguments
    return args.func(args)
  File "/home/siddharthist/.config/marker/bin/marker", line 35, in cmd_mark
    core.mark_command(args.command, None)
  File "/home/siddharthist/.config/marker/bin/../marker/core.py", line 46, in mark_command
    alias = keyboard_input("Alias?:")
KeyboardInterrupt