Fixed cline.message to properly print out the last character of a line

This commit is contained in:
bjschuma 2009-12-28 22:28:00 -05:00
parent a1347343e6
commit 1271406620
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def insert(string):
y = settings.get("cliney")
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)
insert(string[maxyx[1]:])
return