resizing curses window

Discussion in 'Python' started by jbi130@yahoo.com, Aug 26, 2003.

  1. Guest

    I've built a small curses app with an IRC like interface (not for IRC
    tho). The last remaining item is to handle resizing the terminal on
    SIGWINCH.

    I've tried a few things and everything is failing. I first try to
    resize my root window using resize() but then my calls to resize other
    windows usually fail..

    Whats the proper or common way to handle a resize? I added on the
    ncurses extention resizeterm() to _cursesmodule.c and that seems to
    make things work better, but I'm trying to get away with the stock
    module.

    Any pointers to examples would be great as searching google did prove
    to be very fruitful.

    Thanks.
     
    , Aug 26, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Share

    Curses and resizing windows

    Chris Share, Jun 22, 2004, in forum: Python
    Replies:
    1
    Views:
    526
    Thomas Dickey
    Jun 22, 2004
  2. Jean-Paul Calderone
    Replies:
    2
    Views:
    444
    Joel Hedlund
    Feb 9, 2006
  3. Nick !

    Curses and resizing windows

    Nick !, Feb 28, 2007, in forum: Python
    Replies:
    1
    Views:
    1,323
    Thomas Dickey
    Feb 28, 2007
  4. Pil (Trustworthy from Experience)

    Resizing a div by resizing its borders

    Pil (Trustworthy from Experience), Apr 18, 2009, in forum: Javascript
    Replies:
    9
    Views:
    360
    Proper
    Apr 21, 2009
  5. Proper
    Replies:
    0
    Views:
    206
    Proper
    Apr 18, 2009
Loading...

Share This Page