Added listchars support