srsudar / eg

Useful examples at the command line.
MIT License
1.8k stars 98 forks source link

Do not fail when user hits ctrl-c while in pager #60

Closed scorphus closed 8 years ago

scorphus commented 8 years ago

As eg now tells less to quit when a keyboard interrupt (ctrl-C) is triggered by the user, it needs to handle such exception.

srsudar commented 8 years ago

This is great, thank you! I like the @patch decorator as well.

scorphus commented 8 years ago

So glad to contribute! eg rocks.

srsudar commented 8 years ago

FYI, just uploaded 0.1.4, which includes this change.