BenWestgate / bails-wallet

Auditable Implementation for creating & importing Codex32 backups to Bitcoin Core
MIT License
2 stars 0 forks source link

Use a separate thread to maintain the spacing of the entry #3

Open BenWestgate opened 7 months ago

BenWestgate commented 7 months ago

Currently there are some glitches with the width of the windows (not constantly 4) and they can't be fixed because the spacing must be done after the input changes, not at the same time or the cursor position will be lost.

By simply running another parallel thread that fixes the spacing every 10 seconds they can be avoided.

This also fixes glitches such as copy and paste not having the spacing until a key is pressed.

We can also use a separate thread to turn the text red when a correction is found only after a short delay.

BenWestgate commented 7 months ago

I posted a video showing these small bugs to the Bails telegram channel:

https://t.me/Bails_support/1/309