Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smartmic
Copy link

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.

@coderofsalvation
Copy link
Owner

I will test this asap.
Could be a nice improvement compared to #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants