mercurial/crecord.py
branchstable
changeset 46701 c6d9948e865f
parent 46700 279edaaea711
child 46788 693991ccfc49
equal deleted inserted replaced
46700:279edaaea711 46701:c6d9948e865f
  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: