Show More
@@ -139,7 +139,7 b' wide = (os.environ.get("HGENCODINGAMBIGU' | |||||
139 | and "WFA" or "WF") |
|
139 | and "WFA" or "WF") | |
140 |
|
140 | |||
141 | def colwidth(s): |
|
141 | def colwidth(s): | |
142 |
"Find the column width of a |
|
142 | "Find the column width of a string for display in the local encoding" | |
143 | return ucolwidth(s.decode(encoding, 'replace')) |
|
143 | return ucolwidth(s.decode(encoding, 'replace')) | |
144 |
|
144 | |||
145 | def ucolwidth(d): |
|
145 | def ucolwidth(d): |
General Comments 0
You need to be logged in to leave comments.
Login now