equal
deleted
inserted
replaced
820 if 'COLUMNS' in encoding.environ: |
820 if 'COLUMNS' in encoding.environ: |
821 try: |
821 try: |
822 return int(encoding.environ['COLUMNS']) |
822 return int(encoding.environ['COLUMNS']) |
823 except ValueError: |
823 except ValueError: |
824 pass |
824 pass |
825 return scmutil.termwidth(self) |
825 return scmutil.termsize(self)[0] |
826 |
826 |
827 def formatted(self): |
827 def formatted(self): |
828 '''should formatted output be used? |
828 '''should formatted output be used? |
829 |
829 |
830 It is often desirable to format the output to suite the output medium. |
830 It is often desirable to format the output to suite the output medium. |