summaryrefslogtreecommitdiff
path: root/urwid
Commit message (Collapse)AuthorAgeFilesLines
...
* | | vterm: Fix handling of NUL charactersaszlig2016-02-112-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | fix #172 - html_fragment errors on Python 3.4Michael Keirnan2016-02-051-0/+2
| | |
* | | Merge pull request #158 from benjamin9999/fbtermIan Ward2015-11-011-8/+18
|\ \ \ | | | | | | | | 256-color support for fbterm
| * | | Add 256-color support for fbtermBenjamin Yates2015-10-181-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Store envron's TERM value as a Screen attributeBenjamin Yates2015-10-181-4/+4
| | | |
* | | | drop -dev from 1.3.1Ian Ward2015-11-011-1/+1
|/ / /
* | | fixes https://github.com/wardi/urwid/issues/96Esteban null2015-09-201-1/+1
| |/ |/|
* | Reset screen to original state on any exception.Rian Hunter2015-09-061-2/+2
| | | | | | | | | | | | | | | | | | 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.
* | A better fix for #127 and #60, added self.flush() instead of carriage returnJared Winborne2015-07-021-2/+2
| |
* | fix for #127 Added a \r for the screen to be properly restored after ↵Jared Winborne2015-06-291-1/+2
| | | | | | | | screen.stop()
* | Merge pull request #88 from hkoof/fix-bargraph-hlinesIan Ward2015-04-211-0/+1
|\ \ | |/ |/| fix hlines in BarGraph.set_data(): sort descending
| * fix hlines in BarGraph.set_data(): sort descendingHeiko Noordhof2014-11-041-0/+1
| |
* | Add bracketed paste mode escape sequencesTom Dryer2015-04-121-0/+2
| | | | | | | | | | | | 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.
* | Fix typo in AttrSpec error messageRandom User2015-03-261-1/+1
| |
* | Merge pull request #100 from kurlyk/masterIan Ward2015-01-041-0/+9
|\ \ | | | | | | Add clear method to monitored lists
| * | Add "clear" method to monitored listsneumond2014-12-201-0/+9
| |/
* | Merge pull request #91 from rndusr/masterIan Ward2015-01-041-0/+7
|\ \ | | | | | | Add equality operators to AttrSpec
| * | AttrSpec.__eq__: compare _value instead of foreground and backgroundRandom User2014-11-181-3/+1
| | |
| * | Make AttrSpec comparable *and* not break completelyRandom User2014-11-181-2/+5
| | |
| * | Add __eq__ and __ne__ to AttrSpecRandom User2014-11-181-0/+6
| |/
* | cleanup screen claim on runtime exceptionRuurd Moelker2014-12-051-1/+5
|/
* fix for bg bug introduced by #75Ian Ward2014-10-181-1/+1
|
* start 1.3.1-devIan Ward2014-10-171-1/+1
|
* drop -dev from 1.3.0Ian Ward2014-10-171-1/+1
|
* Merge pull request #74 from jeblair/masterIan Ward2014-10-171-1/+5
|\ | | | | Fix GridFlow focus issue
| * Fix GridFlow focus issueJames E. Blair2014-08-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #85 from hkoof/negative-indicesIan Ward2014-10-171-45/+22
|\ \ | | | | | | Fix negative indices in MonitoredFocusList
| * | make __delitem__ support negative indicesHeiko Noordhof2014-10-171-1/+2
| | |
| * | add doctest examples of negative indicesHeiko Noordhof2014-10-171-1/+18
| | |
| * | turn deprecated slice methods into wrappersHeiko Noordhof2014-10-171-43/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __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
* | | Merge pull request #75 from rwarren/bright_bg_for_linux_termIan Ward2014-10-171-7/+11
|\ \ \ | |/ / |/| | fix bright bg rendering on linux term
| * | fix bright bg rendering on linux termrwarren2014-08-271-7/+11
| |/
* | working on release 1.3Ian Ward2014-10-051-1/+1
| |
* | raw_display: enable code for skipping unchanged rows during redrawAnton Khirnov2014-09-271-1/+1
|/ | | | Significantly improves redraw performance.
* Merge pull request #67 from eevee/loop-cleanupJonas Wielicki2014-08-0417-254/+474
|\ | | | | Make loop wrapping simpler, and make Screen easier to plug into async loops
| * Fix calling get_input() on the raw screen.Eevee (Alex Munroe)2014-07-271-7/+13
| | | | | | | | | | This isn't something urwid ever does by itself, but pudb apparently does it, and it was completely broken as written.
| * Stop screen even without external event loopJonas Wielicki2014-07-091-1/+4
| |
| * Adapt docstrings to changed argumentsJonas Wielicki2014-07-091-2/+2
| |
| * Fix a doctest.Eevee (Alex Munroe)2014-06-031-7/+7
| |
| * Add Screen.write and Screen.flush.Eevee (Alex Munroe)2014-06-031-13/+31
| |
| * MainLoop.start/stop now start/stop the screen, too.Eevee (Alex Munroe)2014-06-031-2/+5
| |
| * Make BaseScreen.start() and stop() idempotent.Eevee (Alex Munroe)2014-06-037-42/+40
| |
| * Put run_wrapper in the base class; make BaseScreen.start() a contextmanager.Eevee (Alex Munroe)2014-06-038-37/+39
| |
| * Fix Screen.parse_input to be easily reused by subclasses.Eevee (Alex Munroe)2014-05-121-7/+12
| |
| * Fix some Python 3 things that work fine in 2.6 anyway.Eevee (Alex Munroe)2014-05-119-31/+34
| |
| * Split up MainLoop._run, so the loop can be managed outside urwid.Eevee (Alex Munroe)2014-05-111-18/+50
| |
| * Add AsyncioEventLoop. Fixes #52.Eevee (Alex Munroe)2014-05-113-5/+136
| |
| * Fix `except ... as`.Eevee (Alex Munroe)2014-05-115-8/+8
| | | | | | | | | | This would normally be done with 2to3. But I'm trying to run the test suite against 3, and urwid requires 2.6 anyway.
| * Fix up the Twisted example.Eevee (Alex Munroe)2014-05-111-2/+2
| |
| * Have the Screen call back into MainLoop on new input.Eevee (Alex Munroe)2014-05-112-91/+103
| | | | | | | | This should be much more readily extended by async loops like asyncio and Twisted.