9
I Use This!
Activity Not Available

News

Analyzed 12 months ago. based on code collected almost 1 year ago.
Posted about 11 years ago by MiCazares
I am a firm believer in the fact that hard-work is always rewarded and vice versa for the case of laziness. This is the rule and not necessary the norm, and my experience in the business of the best paper writing service reviews has confirmed that ... [More] to me beyond doubt. It is for that reason that I always implore all the people who are worth their salt and who have an interest in writing to give their all because there is no other way to guarantee success as a writer if you don’t have that mindset in you and you pursue it with all your heart. [Less]
Posted over 11 years ago by vext01
Hi, This test has been failing on OpenBSD for some time. I generated the following using hg default from 5 minutes ago: FAIL: test_wrap_backspace_tab (urwid.tests.test_vterm.TermTest) ... [More] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/edd/source/urwid/urwid/tests/test_vterm.py", line 254, in test_wrap_backspace_tab self.expect(' ' * (self.term.width - 1) + 'a') File "/home/edd/source/urwid/urwid/tests/test_vterm.py", line 120, in expect self.assertEqual(got, what, desc) AssertionError: Expected: ' a' Got: '\n a' Cheers [Less]
Posted almost 12 years ago by ian
add "Why can't I select text in an Urwid program?" (diff)
Posted almost 12 years ago by lauritz.thaulow
The doc says: "blank rows between cells vertically (if more than one row is required to display all the cells)". However, GridFlow adds blank fows to the top even if there is only one row. Here's an example: import urwid w = ... [More] urwid.GridFlow([urwid.Text("test")], 10, 3, 1, "center") print "\n".join(map(repr, w.render((40,)).text)) When run, it prints ' ' ' test ' [Less]
Posted almost 12 years ago by fabiand
Add oVirt Node (diff)
Posted almost 12 years ago by fabiand
The attached patch should fix this by adding a fallback to 80x24.
Posted almost 12 years ago by lauritz.thaulow
Here's a short snippet showing the problem: import urwid import sys walker = urwid.SimpleFocusListWalker([1, 2, 3]) listbox = urwid.ListBox(walker) walker.set_focus_changed_callback( lambda pos: sys.stdout.write( ... [More] "{0}\n".format(listbox.get_focus()[1]))) # This should cause the new index, 1, to be printed. # Instead it prints 0. walker.insert(0, 0) I suggest fixing by changing this code in MonitoredFocusList._set_focus: if index != self._focus: self._focus_changed(index) self._focus = index ...to this: old_focus = self._focus self._focus = index if old_focus != index: self._focus_changed(index) Alternatively the docstring should be corrected to state the actual behaviour of the function. [Less]
Posted almost 12 years ago by Ian Ward <ian@…>
urwid/container.py second fix for Columns.move_cursor_to_coords
Posted almost 12 years ago by Ian Ward <ian@…>
urwid/container.py fix for Columns.move_cursor_to_coords not handling left/right
Posted almost 12 years ago by Ian Ward <ian@…>
urwid/tests/test_container.py test showing Columns.move_cursor_to_coords not handling left/right