fix display bug

--HG--
branch : pmacs2
This commit is contained in:
Erik Osheim 2010-05-18 23:43:01 -04:00
parent 8277ecec34
commit fedbd0d50c
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class ConsoleExec(Method):
lines.extend([PAD + l for l in util.wrap_lines(line, limit)]) lines.extend([PAD + l for l in util.wrap_lines(line, limit)])
if lines[-1] == PAD: if lines[-1] == PAD:
lines[-1] = '' lines[-1] = ''
b.insert_lines(b.get_buffer_end(), lines, force=True) b.insert_lines(b.get_buffer_end(), lines + [''], force=True)
for w2 in b.windows: for w2 in b.windows:
w2.goto_end(force=True) w2.goto_end(force=True)