kanban.bash icon indicating copy to clipboard operation
kanban.bash copied to clipboard

Change termcap to sgr0 for resetting terminal colors - fixes tput warning

Open smartmic opened this issue 3 years ago • 1 comments

I got this warning from tput everytime I run kanban

tput: unknown terminfo capability 'normal'

The tput command within the trap has a weird syntax which is not correct (at least as I am aware of). I could not find any reference where, after the terminal capability, two dashes signal the end of cli options, followed by "normal". Could this be a copy & paste error?

Anyhow, my fix seems to work fine. Also, I changed the capability from cnorm to sgr0 which seems more appropriate for resetting the terminal colors.

smartmic avatar Sep 21 '22 19:09 smartmic

I will test this asap. Could be a nice improvement compared to https://github.com/coderofsalvation/kanban.bash/pull/33

coderofsalvation avatar Sep 25 '22 11:09 coderofsalvation