PyBites-Open-Source/eatlocal

Use 'q', 'Q', or 'esc' to exit display bite fixed with commit 188a0a7

rhelmstedter opened this issue · 2 comments

Currently, the display bite command displays the instructions and the code for the bite in a rich layout object. It is displayed with with Live(layout, screen=True):. Then it asks for input(). This means you can close it with either press enter or <Ctrl-C>. It would be nice to be able to close the display with any of 'q', 'Q', or 'esc'.

This has been fixed with the most recent commit. @JnyJny you were the one who requested this. Let me know if you have any issues.

Usually you put the commit in a comment, 188a0a7, and then GitHub will automatically hot-link it for us.

Also, LGTM, thank you!