Fixed cline.message to properly print out the last character of a line
This commit is contained in:
parent
a1347343e6
commit
1271406620
|
@ -32,7 +32,7 @@ def insert(string):
|
||||||
y = settings.get("cliney")
|
y = settings.get("cliney")
|
||||||
|
|
||||||
if len(string) >= maxyx[1]:
|
if len(string) >= maxyx[1]:
|
||||||
stdscr.addstr(y, 0, string[0:maxyx[1]-1])
|
stdscr.addstr(y, 0, string[0:maxyx[1]])
|
||||||
advance(y, maxyx[0], stdscr)
|
advance(y, maxyx[0], stdscr)
|
||||||
insert(string[maxyx[1]:])
|
insert(string[maxyx[1]:])
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue