summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-11-04 14:52:19 -0400
committerhut <hut@lepus.uberspace.de>2016-11-04 14:52:19 -0400
commit4d51544a0b5d9172db207944f19ac83150173713 (patch)
treee19f6ab9373562e28c9f7cf664d6c7b9336fc9e0
parent612e890af2037f5bb283c636d7f865902c8c9188 (diff)
parent811e8fe58ad5038bddbdac96c0c3cde4e4f7d5e3 (diff)
downloadranger-4d51544a0b5d9172db207944f19ac83150173713.tar.gz
Merge branch 'windows_line_endings' of https://github.com/richboss/ranger
-rw-r--r--ranger/gui/widgets/pager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/pager.py b/ranger/gui/widgets/pager.py
index 58b791cd..0c81079b 100644
--- a/ranger/gui/widgets/pager.py
+++ b/ranger/gui/widgets/pager.py
@@ -231,7 +231,7 @@ class Pager(Widget):
                     line = ansi.char_slice(line, startx, self.wid) + ansi.reset
                 else:
                     line = line[startx:self.wid + startx]
-                yield line.rstrip()
+                yield line.rstrip().replace('\r\n', '\n')
             except IndexError:
                 raise StopIteration
             i += 1
tter Drew DeVault <sir@cmpwn.com> 2018-01-31 21:18:21 -0500 Improve logging' href='/akspecs/aerc/commit/cmd/aerc/main.go?h=0.3.0&id=a21afdaa6bab8f6d05bbe9272700eef571548a59'>a21afda ^
1767e4f ^
a21afda ^

a0be5e8 ^

39c93d2 ^

60b351b ^
f406bf5 ^



b60999c ^
f406bf5 ^





b60999c ^

f406bf5 ^
77a0f68 ^


1418e1b ^
60b351b ^
1418e1b ^

661e3ec ^

305446a ^
6394e38 ^
aeb7005
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61