yardnsm / tmux-1password

:key: Access your 1Password login items within tmux!
MIT License
252 stars 24 forks source link

Doesn't clear terminal after password input #2

Closed tapayne88 closed 5 years ago

tapayne88 commented 5 years ago

After login it tries to clear the terminal: https://github.com/yardnsm/tmux-1password/blob/master/scripts/main.sh#L39

I am by no means an expert on the matter but after some digging around (this was useful) it looks like the 'cl' command is the termcap command which only a GNU tput program will accept.

I think it should use the longname (which GNU tput also accepts) to have the widest compatibility.