diff options
author | benadha <benawiadha@gmail.com> | 2022-01-25 05:24:17 +0700 |
---|---|---|
committer | benadha <benawiadha@gmail.com> | 2022-01-25 05:24:17 +0700 |
commit | 9d59248c311a52eb03ffeb30701c2e2b12ec8df7 (patch) | |
tree | 12a91f4e995b5700dce6cc002fce4ff3386bcc04 | |
parent | 74f7e027ba7569735951d91e25084c0851796960 (diff) | |
download | epy-2022.1.25.tar.gz |
Bugfix #51: Stop/prevent scrolling at the end of ebookv2022.1.25
-rwxr-xr-x | epy.py | 4 | ||||
-rw-r--r-- | pyproject.toml | 2 | ||||
-rw-r--r-- | setup.py | 2 |
3 files changed, 3 insertions, 5 deletions
@@ -23,7 +23,7 @@ examples: """ -__version__ = "2022.1.23" +__version__ = "2022.1.25" __license__ = "GPL-3.0" __author__ = "Benawi Adha" __email__ = "benawiadha@gmail.com" @@ -3280,8 +3280,6 @@ class Reader: textwidth=reading_state.textwidth, row=0, ) - else: - reading_state = dataclasses.replace(reading_state, row=totlines - rows) elif k in self.keymap.PageDown: if totlines - reading_state.row > rows * self.spread: diff --git a/pyproject.toml b/pyproject.toml index d641210..fff8327 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "epy-reader" -version = "2022.1.23" +version = "2022.1.25" description = "CLI Ebook Reader" authors = ["Benawi Adha <benawiadha@gmail.com>"] license = "GPL-3.0" @@ -6,7 +6,7 @@ with open("README.md", "r") as fh: setup( name="epy-reader", - version="2022.1.23", + version="2022.1.25", description="Terminal/CLI Ebook (epub, fb2, mobi, azw3) Reader", long_description=long_description, long_description_content_type="text/markdown", |