commit | f2e54e1e2ff5a1902cdab4db50a503541186638e | [log] [download] |
---|---|---|
author | nicm <nicm> | Fri Feb 14 14:37:08 2014 +0000 |
committer | nicm <nicm> | Fri Feb 14 14:37:08 2014 +0000 |
tree | 9cecb270285eee257ccfbf6a4ff50166eefb1d4b | |
parent | e9d32f901ac86986943cac3b391442ae5bce883f [diff] |
If the terminfo entry has colors#256, assume that setaf and setab work and use them for the 256 colour set. If the terminfo entry doesn't have colors#256 and the user gives -2 to the client, use a \033[38;5;Xm sequence as before. Should allow fbterm to work with it's weird setaf and setab.