andmarti1424 / sc-im

sc-im - Spreadsheet Calculator Improvised -- An ncurses spreadsheet program for terminal
Other
4.88k stars 208 forks source link

DEFAULT color is blue until restart #877

Closed cskeeters closed 5 months ago

cskeeters commented 5 months ago

Opening a new sheet and issuing the following commands results in a dark blue fg and bg. Once the app is restarted, default colors are used for the cell. I expected the cell to use the defaulting coloring when defaults are set.

<test
:cellcolor "fg=WHITE bg=CYAN"
:cellcolor "fg=DEFAULT bg=DEFAULT"

Is there another way to restore the defaults that works without restarting sc-im?

cskeeters commented 5 months ago

Ah, I see. It should be NONE_COLOR (or DEFAULT_COLOR)

:cellcolor "fg=NONE_COLOR bg=NON_COLOR"