[Urwid] scrolling

Ian Ward ian at excess.org
Thu Jun 29 11:12:54 EDT 2006


Rebecca Breu wrote:
> Mmh, *I* import the curses library to have access to the beep() function.
> But if I could produce a beep via urwid, it would save me one line of code...
> ;-)
> Thinking of it, one could even have a beep that, when using raw_diaplay,
> doesn't use curses but escape sequences.

def beep():
	sys.stdout.write("\a")

I could certainly add that to curses_display and raw_display.  I was 
also thinking of adding a function that lets you set the window title...

Ian





More information about the Urwid mailing list