mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0fb6ef9dc0
commit
0e405f10d6
@ -48,10 +48,10 @@ def nonblocking_readlines(window, fileobj, buf, name, copy_to=None):
|
||||
|
||||
def show_line(window, line, fname):
|
||||
line = clean_pat.sub(b'', line)
|
||||
max_lines, max_chars = window.getmaxyx()
|
||||
if line:
|
||||
continue_prompt = b'> '
|
||||
title = str(b" %s " % fname)
|
||||
max_lines, max_chars = window.getmaxyx()
|
||||
max_line_len = max_chars - 2
|
||||
if len(line) > max_line_len:
|
||||
first_portion = line[0:max_line_len - 1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user