trezor / python-trezor

:snake: Don't use this repo, use the new monorepo instead:
https://github.com/trezor/trezor-firmware
GNU Lesser General Public License v3.0
201 stars 194 forks source link

Split off UI code from client.py #307

Closed matejcik closed 5 years ago

matejcik commented 6 years ago

another important piece of refactoring is moving interaction code into some sort of encapsulated piece away from client.py.

Current plan is to create a class for UI interactions, provide two default implementations (text-based and Qt-based), and requiring an instance of this class in TrezorClient constructor.

matejcik commented 5 years ago

With mixin removal, this is resolved.