Matthew Wang 13 лет назад
Родитель
Сommit
3ef2ab85ad
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      cdiff.py

+ 1
- 1
cdiff.py Просмотреть файл

497
             width=opts.width)
497
             width=opts.width)
498
 
498
 
499
     # args stolen fron git source: github.com/git/git/blob/master/pager.c
499
     # args stolen fron git source: github.com/git/git/blob/master/pager.c
500
-    pager = subprocess.Popen(['less', '-FRSXK'],
500
+    pager = subprocess.Popen(['less', '-FRSX'],
501
             stdin=subprocess.PIPE, stdout=sys.stdout)
501
             stdin=subprocess.PIPE, stdout=sys.stdout)
502
     for line in color_diff:
502
     for line in color_diff:
503
         pager.stdin.write(line.encode('utf-8'))
503
         pager.stdin.write(line.encode('utf-8'))