aboutsummaryrefslogtreecommitdiffstats
path: root/epy.py
diff options
context:
space:
mode:
authorbenadha <benawiadha@gmail.com>2021-02-01 06:05:22 +0700
committerbenadha <benawiadha@gmail.com>2021-02-01 06:05:22 +0700
commit0beb8c464f434607a4511b6ff06f6b78f71e4937 (patch)
treead7300f87740aff1d30b7547d0f7cd58996718a6 /epy.py
parentbc9cf6c590fc7aad2b9826e77196dd355ccc08c2 (diff)
downloadepy-0beb8c464f434607a4511b6ff06f6b78f71e4937.tar.gz
Minor bug fix: color attribute issue with scrolling-more-than-1-line indicator
Diffstat (limited to 'epy.py')
-rwxr-xr-xepy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/epy.py b/epy.py
index c4e08fa..0e9faf0 100755
--- a/epy.py
+++ b/epy.py
@@ -1929,7 +1929,7 @@ def reader(ebook, index, width, y, pctg, sect):
countstring = ""
if svline != "dontsave":
- pad.chgat(svline, 0, width, curses.A_UNDERLINE)
+ pad.chgat(svline, 0, width, SCREEN.getbkgd()|curses.A_UNDERLINE)
try:
SCREEN.clear()
@@ -1971,7 +1971,7 @@ def reader(ebook, index, width, y, pctg, sect):
k = list(K["TTSToggle"])[0]
if svline != "dontsave":
- pad.chgat(svline, 0, width, curses.A_NORMAL)
+ pad.chgat(svline, 0, width, SCREEN.getbkgd()|curses.A_NORMAL)
svline = "dontsave"
except KeyboardInterrupt:
savestate(ebook.path, index, width, y, y/totlines)