curses event handling

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Hunter

    #1

    curses event handling


    I have a curses app that is displaying real time data. I would like
    to bind certain keys to certain functions, but do not want to block
    waiting for

    c = screen.getch()

    Is it possible to register callbacks with curses, something like

    screen.register ('keypress', myfunc)

    Thanks,
    JDH
Working...