File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,43 @@ class Char(object):
6464 '\x1d ' : '^]' ,
6565 '\x1f ' : '^_' ,
6666 '\x7f ' : '^?' , # ASCII Delete (backspace). 
67+ 
68+  # Special characters. All visualized like Vim does. 
69+  '\x80 ' : '<80>' ,
70+  '\x81 ' : '<81>' ,
71+  '\x82 ' : '<82>' ,
72+  '\x83 ' : '<83>' ,
73+  '\x84 ' : '<84>' ,
74+  '\x85 ' : '<85>' ,
75+  '\x86 ' : '<86>' ,
76+  '\x87 ' : '<87>' ,
77+  '\x88 ' : '<88>' ,
78+  '\x89 ' : '<89>' ,
79+  '\x8a ' : '<8a>' ,
80+  '\x8b ' : '<8b>' ,
81+  '\x8c ' : '<8c>' ,
82+  '\x8d ' : '<8d>' ,
83+  '\x8e ' : '<8e>' ,
84+  '\x8f ' : '<8f>' ,
85+ 
86+  '\x90 ' : '<90>' ,
87+  '\x91 ' : '<91>' ,
88+  '\x92 ' : '<92>' ,
89+  '\x93 ' : '<93>' ,
90+  '\x94 ' : '<94>' ,
91+  '\x95 ' : '<95>' ,
92+  '\x96 ' : '<96>' ,
93+  '\x97 ' : '<97>' ,
94+  '\x98 ' : '<98>' ,
95+  '\x99 ' : '<99>' ,
96+  '\x9a ' : '<9a>' ,
97+  '\x9b ' : '<9b>' ,
98+  '\x9c ' : '<9c>' ,
99+  '\x9d ' : '<9d>' ,
100+  '\x9e ' : '<9e>' ,
101+  '\x9f ' : '<9f>' ,
102+ 
103+  '\xa0 ' : '&' , # Non breaking space. 
67104 }
68105
69106 def  __init__ (self , char = ' ' , style = '' ):
                         You can’t perform that action at this time. 
           
                  
0 commit comments