浏览代码

Older less does not have '-K'

Matthew Wang 11 年前
父节点
当前提交
3ef2ab85ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      cdiff.py

+ 1
- 1
cdiff.py 查看文件

@@ -497,7 +497,7 @@ def markup_to_pager(stream, opts):
497 497
             width=opts.width)
498 498
 
499 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 501
             stdin=subprocess.PIPE, stdout=sys.stdout)
502 502
     for line in color_diff:
503 503
         pager.stdin.write(line.encode('utf-8'))