On Thu, 24 Jul 2008 21:28:24 +0200, Dariusz Malec wrote:
> forgot to post the code. Server does not allow to post attachments. The
> code is here http://www.kos.wsiz.rzeszow.pl/~dmalec/src.zip
You might google about SIGWINCH and see where that gets you.
Of course, to my great disappointment, pyt
forgot to post the code. Server does not allow to post attachments.
The code is here http://www.kos.wsiz.rzeszow.pl/~dmalec/src.zip
--
Dariusz Malec
http://www.kos.wsiz.rzeszow.pl
JID:[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I'm very new to python and to curses but i guess someone can help me
understand the problem:
I wrote a little application (attachment) and the problem is when I
resize the terminal the sub-window (log window) gets wrong size (rows)
and when restoring previous terminal size the window row size
Simon Morgan <[EMAIL PROTECTED]> wrote:
> I'd also appreciate any pointers to good tutorials on curses, I've read
> the one by awk and esr but found it rather brief and lacking in detail.
esr only contributed his name - awk wrote the rest.
(When I asked why, he only said it sounded like a good id
Simon Morgan wrote:
> On Sat, 07 Oct 2006 13:12:33 +, Simon Morgan wrote:
>
> > import curses
> >
> > def main(scr):
> > status = curses.newwin(1, curses.COLS, 0, 0) status.bkgd('0')
> > status.refresh()
> >
> > list = curses.newwin(curses.LINES, curses.COLS, 1, 0) list.bkgd('X')
>
On Sat, 07 Oct 2006 13:12:33 +, Simon Morgan wrote:
> import curses
>
> def main(scr):
> status = curses.newwin(1, curses.COLS, 0, 0) status.bkgd('0')
> status.refresh()
>
> list = curses.newwin(curses.LINES, curses.COLS, 1, 0) list.bkgd('X')
> list.refresh()
If I use scr.su
Hi,
I'm having trouble with the following code. The problem is that the value
read by getch() when I hit the up or down keys doesn't match curses.KEY_UP
or curses.KEY_DOWN respectively. Other keys, such as 'z' in my example
code, work fine.
I only seem to have this problem when dealing with newly