commit 9613be7c705e118e20a8533a42664b2734ca8f58
parent 61ed9990bfbbe757e803255542445a74ccad043c
Author: Björn Wärmedal <bjorn.warmedal@storytel.com>
Date: Fri, 11 Mar 2022 11:23:48 +0100
Text now wraps by terminal width instead of always 80 chars
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/av98.py b/av98.py
@@ -887,6 +887,7 @@ you'll be able to transparently follow links to Gopherspace!""")
return cmd_str
def _handle_gemtext(self, body, menu_gi, display=True):
+ self.options["width"] = os.get_terminal_size().columns
self.index = []
preformatted = False
if self.idx_filename: