| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to the VT100 programmers manual, the NUL character has to be
ignored (at least on our side, because we are not a printer):
http://vt100.net/docs/tp83/appendixb.html
According to the bug reporter the VMS console driver inserts NUL
characters after line feeds and our implementation prints those as "?".
Tested against Python 2.7, 3.2, 3.3, 3.4 and 3.5.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: Robert Urban <urban@unix-beratung.de>
|
| | | | |
|
| |\ \ \
| | | |
| | | | |
256-color support for fbterm
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
fbterm supports an analog of xterm's 256 color method, but due to
overlap in the control codes, it uses different escape sequences.
Since urwid doesn't use terminfo, it has to be coded in the raw_display
directly.
The call to register_palette_entry() during __init__ was moved because
it now relies on the self.term attribute, and was previously being
invoked before the class was fully initialized.
|
| | | | | |
|
| |/ / / |
|
| | |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
In MainLoop._run() we were running self.event_loop.run() in
an exception frame so that we could reset the screen in the
case of an unclean shutdown of the MainLoop. The catch specification
was "except Exception as e" but this doesn't include exceptions that
don't derive from Exception, like KeyboardInterrupt (i.e. Ctrl-C).
This change fixes that.
|
| | | |
|
| | |
| |
| |
| | |
screen.stop()
|
| |\ \
| |/
|/| |
fix hlines in BarGraph.set_data(): sort descending
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
Add [bracketed paste mode](https://cirw.in/blog/bracketed-paste) escape
sequences to escape.py so urwid can pass these sequences to applications
as "begin paste" and "end paste" keys.
|
| | | |
|
| |\ \
| | |
| | | |
Add clear method to monitored lists
|
| | |/ |
|
| |\ \
| | |
| | | |
Add equality operators to AttrSpec
|
| | | | |
|
| | | | |
|
| | |/ |
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Fix GridFlow focus issue
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The GridFlow widget create a Pile which contains Columns, one per
row of the grid. Because it creates the Columns widgets empty,
the Columns widgets all have their focus_position set to the default
of 0. The only time the GridFlow widget will update the focus of
the Columns widgets when constructing them is if the widget it is
adding is the focus widget of the GridFlow. This means that if
a GridFlow ends up with a row whose first widget is not selectable
and the current GridFlow focus position is not in that row, then
the entire Columns widget for that row will be considered not
selectable (as its focus position will remain 0).
Correct this by ensuring that the first selectable widget gets the
focus when a GridFlow creats a Columns widget (or the actual
GridFlow focus widget if it is in the row).
A similar fix is not needed for the Pile focus because as long as
the GridFlow focus position is set, the Pile focus will be as well.
Fixes issue #61.
|
| |\ \
| | |
| | | |
Fix negative indices in MonitoredFocusList
|
| | | | |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
__delslice__() and __setslice__() are deprecated as of python v2.6 [1]
and urwid does not support python versions pre-v2.6 (anymore).
Making these methods wrappers of __delitem__() and __setitem__()
de-duplicates code (and doctest's)
[1] https://docs.python.org/2.6/reference/datamodel.html
|
| |\ \ \
| |/ /
|/| | |
fix bright bg rendering on linux term
|
| | |/ |
|
| | | |
|
| |/
|
|
| |
Significantly improves redraw performance.
|
| |\
| |
| | |
Make loop wrapping simpler, and make Screen easier to plug into async loops
|
| | |
| |
| |
| |
| | |
This isn't something urwid ever does by itself, but pudb apparently does
it, and it was completely broken as written.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This would normally be done with 2to3. But I'm trying to run the test
suite against 3, and urwid requires 2.6 anyway.
|
| | | |
|
| | |
| |
| |
| | |
This should be much more readily extended by async loops like asyncio and Twisted.
|