Joscha 552cd82802 Run async input and password getters in daemon thread
Previously, it ran in the event loop's default executor, which would block until
all its workers were done working.

If Ctrl+C was pressed while input or a password were being read, the
asyncio.run() call in the main thread would be interrupted however, not the
input thread. This meant that multiple key presses (either enter or a second
Ctrl+C) were necessary to stop a running PFERD in some circumstances.

This change instead runs the input functions in daemon threads so they exit as
soon as the main thread exits.
2021-05-22 18:37:53 +02:00
..
2021-05-14 21:27:44 +02:00
2021-05-22 14:45:46 +02:00
2021-05-15 15:25:05 +02:00
2021-05-18 22:45:19 +02:00
2021-05-15 22:25:48 +02:00
2021-05-19 17:33:36 +02:00