cryptoadvance / specter-diy

DIY airgapped hardware wallet that uses QR codes for communication with the host
MIT License
441 stars 73 forks source link

Nonblocking GUI #39

Closed stepansnigirev closed 4 years ago

stepansnigirev commented 4 years ago

I got rid of annoying handle_queue for GUI updates, now the screen functions are called right away. Old screen is deleted during the next display update.

Now it is also possible to run main function with blocking=False - in this case, one can get to REPL and work on the device interactively. Data from UART and USB will not be parsed until update function is called. Then all the data will be processed and the wallet will do whatever is required.