Sharad Ganapathy wrote: > Ian Ward wrote: > >> Hi Sharad, >> >> What version of Urwid are you using? >> >> What happens when you just try to "import curses" from the python >> command line? >> >> Ian > > Ian , > > From the python command line : > > >>> print urwid.__version__ > 0.9.8.3 > >>> import curses > >>> print curses.version > 2.2
My best guess is that the terminal definitions on your system (terminfo/termcap) are not set up properly so curses doesn't know how to query the terminal size. raw_display just assumes that the terminal uses a common escape sequence to query the terminal size, which works for most modern terminals. So, you could either fix your terminfo/termcap (or TERM environment variable) or use raw_display if it is detecting the screen size properly. Ian _______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
