equal
deleted
inserted
replaced
1150 text = text.rstrip(b' \n') # tabs have already been expanded |
1150 text = text.rstrip(b' \n') # tabs have already been expanded |
1151 strippedlen = len(text) |
1151 strippedlen = len(text) |
1152 numtrailingspaces = origlen - strippedlen |
1152 numtrailingspaces = origlen - strippedlen |
1153 |
1153 |
1154 if towin: |
1154 if towin: |
1155 window.addstr(text, colorpair) |
1155 window.addstr(encoding.strfromlocal(text), colorpair) |
1156 t += text |
1156 t += text |
1157 |
1157 |
1158 if showwhtspc: |
1158 if showwhtspc: |
1159 wscolorpair = colorpair | curses.A_REVERSE |
1159 wscolorpair = colorpair | curses.A_REVERSE |
1160 if towin: |
1160 if towin: |