New submission from vjp <volker.pil...@dectris.com>:

Running the program below on Linux (CentOS 5 and 6) two lines are printed, of 
which the second one is not correctly indented:

Output is:
1234567012345670
               012345670
rather than 
1234567012345670
       012345670




import curses
import time

def display(screen):
    while 1:
        screen.erase()
        screen.addstr("1234567012345670\n")
        screen.addstr("       012345670\n")
        screen.refresh()

        time.sleep(100)
                        
curses.wrapper(display)

----------
messages: 163161
nosy: vjp
priority: normal
severity: normal
status: open
title: curses: wrong indentation
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15105>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to