Sujan Shakya wrote:
> Hi Ian,
> Thank you for helping me. I've completed the curses task of creating
> menu based console using urwid. But right I am facing a problem. I
> need to ignore keyboard interrupts such as Ctrl-C, Ctrl-Z etc. There
> must a way to do this. So please help me.

You can mask the INTR and STOP signals with:
screen.tty_signal_keys(intr='undefined', stop='undefined')

(or remap them to other keys)

It seems my reference documentation isn't showing the methods inherited 
from subclasses anymore.  I'll have to look into fixing that.  The 
method is defined in the RealTerminal class.

Ian




_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to