andmarti1424 / sc-im

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

DEFAULT color is blue until restart #877

Closed cskeeters closed 1 month ago

cskeeters commented 1 month 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 1 month ago

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

:cellcolor "fg=NONE_COLOR bg=NON_COLOR"