Christian Scharkus wrote:
> Hi folks.
> It's time for some more questions I think :D
> 
> I would like to know if there is any possibility to suspend the 
> curses_display of urwid to start something like links from my app to 
> show websites etc.

Yes, you can use curses_display.Screen.stop() and start()

> Second it would be nice to have keycombos given from get_input() like 
> "shift enter", "ctrl enter" because I would like to be able to make some 
> newlines in the chat-client I currently write.

I don't think a regular terminal app can detect shift-enter and 
ctrl-enter.  When I run "input_test.py" I see only a single "10" value 
from the terminal when I press enter regardless of shift and ctrl state.

It would be possible to detect the shift and ctrl state with some 
trickery like connecting to the X server where the app is running, but 
Urwid doesn't try doing that at the moment.

Ian


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

Reply via email to