> Is it appropriate to use ANSI escape codes in the program rather than > using something like tput or terminfo, or to just execute the "clear" > command? Are the escape codes portable?
No, they are not. The problem here is that a lot of ppl in suckless think that doesn't matter to keep the compatibility in the terminal world. I have said that this is an eror, and everytime that I use some of these programs in a dumb terminal I see the garbage due to the escape sequences.