GiorgosXou / TUIFIManager

A cross-platform terminal-based termux-oriented file manager (and component), meant to be used with a Uni-Curses project or as is.
GNU General Public License v3.0
688 stars 13 forks source link

Issue initializing colors on Windows #48

Closed GiorgosXou closed 1 year ago

GiorgosXou commented 1 year ago

https://github.com/GiorgosXou/TUIFIManager/blob/6efabe6c4a706ccafcc8c7bba8a26ac6b7fc54ec/TUIFIManager/TUItilities.py#L66

AFAICT, both are "correct" -- trying to use a color pair you haven't set up is undefined behavior.

Which means that we have to replace = (0,0) with in ((0,0),(7,0)) ( [usingin] just in case that they change it in the future to (0,0) and we don't relise it)