kraanzu / dooit

An awesome TUI todo manager
https://pypi.org/project/dooit/
MIT License
2.07k stars 100 forks source link

[BUG] Opaque background on transparent terminals #144

Closed SuperDuperDeou closed 1 year ago

SuperDuperDeou commented 1 year ago

Describe the bug 🐛 If Dooit is run on a terminal with a (semi-)transparent background, instead if respecting the transparency, Dooit will draw the background as completely opaque.

To Reproduce 🐣

  1. Install a terminal that supports transparency (ex. St with alpha patch, Kitty, Alacritty).
  2. Set an non-zero transparency.
  3. Run Dooit on that terminal.

Expected behavior 🤔 A curses application should respect the transparency of the terminal, so, if the terminal is semi-transparent, so should be the background drawn by the curses application. (Look programs such as Less, Vim, and Nano for reference.)

Screenshots 🧐 dooit

Desktop (please complete the following information): 🤖

Additional context 📝 Add any other context about the problem here.

kraanzu commented 1 year ago

Hey @SuperDuperDeou!

Unfortunately this was done intentionally by the TUI framework which dooit is based on :( Check out this for more details

github-actions[bot] commented 1 year ago

Did we solve your problem? Glad we could help!

Consider sponsoring my work through github sponsors :smile: – @kraanzu