fix setEffects and failed fg/bg 256 color sequences.
fix setEffects and failed fg/bg 256 color sequences.

eush77/blessed,mcanthony/blessed,zBMNForks/blessed,umi/blessed,rosshinkley/blessed,bulkan/blessed,chjj/blessed,rstr74/blessed,piranna/blessed,yaronn/blessed,mcanthony/blessed,rosshinkley/blessed,chjj/blessed,umi/blessed,anko/blessed,piranna/blessed,zBMNForks/blessed,gdseller/blessed,dbkaplun/blessed,dbkaplun/blessed,yaronn/blessed,bulkan/blessed,eush77/blessed,anko/blessed,rstr74/blessed,gdseller/blessed