summaryrefslogtreecommitdiffstats
path: root/Lib/curses
Commit message (Collapse)AuthorAgeFilesLines
* replace has_key with 'in' operatorBenjamin Peterson2009-10-091-1/+1
|
* Issue #3239. Differentiate the ascii call from the curses one andFacundo Batista2008-07-051-18/+19
| | | | the builtin one.
* Use file descriptor for real stdoutAndrew M. Kuchling2008-02-251-1/+3
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* #1119331: ncurses will just call exit() if the terminal name isn't found.Andrew M. Kuchling2008-02-231-0/+4
| | | | Call setupterm() first so that we get a Python exception instead of just existing.
* Patch #1048820 from Stefan Wehr: add insert-mode editing to Textbox.Andrew M. Kuchling2008-01-201-11/+25
| | | | Fix an off-by-one error I noticed.
* [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within ↵Andrew M. Kuchling2005-06-021-1/+1
| | | | the text box
* Display helpful message; print repr() of return value so the whitespace is ↵Andrew M. Kuchling2004-10-191-1/+2
| | | | clearer
* [Bug #1048816] Fix bug when you do Ctrl-K at the start of a line; fix from ↵Andrew M. Kuchling2004-10-191-0/+2
| | | | Stefan Heimann
* Make magic coordinates more readableAndrew M. Kuchling2004-10-191-3/+7
|
* Somehow (no idea how!) I missed half of patch #1005008. Sorry about that.Michael W. Hudson2004-08-071-1/+1
|
* This is patchMichael W. Hudson2004-08-071-17/+4
| | | | | | | [ 1005008 ] curses.wrapper should also forward keyword args Plus my rewrite to use finally as opposed to painfully doing the equivalent by hand.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-183-156/+152
|
* Modernize code a bit: use isinstance instead of type(); return True/FalseAndrew M. Kuchling2003-09-021-4/+7
|
* [Patch #759208] Fix has_key emulation to not raise KeyErrorAndrew M. Kuchling2003-09-021-1/+3
|
* Rework previous fix slightly; the &0x20 test seems useless, and the ↵Andrew M. Kuchling2003-08-291-4/+2
| | | | isprint() check mustn't prevent the meta-bit check at the end
* [Bug #790356] unctrl() doesn't work for full printable charset. Fix by Dave ↵Andrew M. Kuchling2003-08-291-0/+2
| | | | Cinege.
* SF patch #701494: more apply removalsRaymond Hettinger2003-04-061-1/+1
|
* Whitespace normalization (get rid of tabs).Guido van Rossum2002-09-293-63/+62
|
* Patch #521670: Remove unused sys import.Martin v. Löwis2002-02-231-2/+1
|
* Catch curses.error instead of a non-existent global (PyChecker)Andrew M. Kuchling2001-08-131-2/+2
| | | | Edit comment
* Remove redundant importAndrew M. Kuchling2001-08-131-1/+0
|
* Bug #412086, reported by Peter Wilson: The _curses module doesn'tAndrew M. Kuchling2001-04-051-0/+13
| | | | | | define COLORS or COLOR_PAIRS until after start_color() is called, but they were never added to the curses module. Fixed by adding a wrapper around start_color(), similar to the wrapper around initscr().
* Make isspace(chr(32)) return trueAndrew M. Kuchling2000-12-261-1/+1
|
* Wrapper for _curses_panel module; currently this adds nothing extraAndrew M. Kuchling2000-12-221-0/+9
| | | | beyond what's in _curses_panel
* Tweak curses.wrapper so it initializes colors if they are available.Eric S. Raymond2000-08-091-0/+9
|
* Corrected a bug in handling of ^N and ^P with stripspaces on.Eric S. Raymond2000-08-041-8/+12
|
* Added Python function to emulate the ncurses has_key() function.Andrew M. Kuchling2000-08-012-0/+197
|
* Remove extra argument to method callAndrew M. Kuchling2000-07-121-1/+1
|
* Docstring changes.Andrew M. Kuchling2000-07-112-6/+2
|
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-071-8/+11
| | | | convert semicolons to newlines
* Fix comment typo noticed by Rob HooftAndrew M. Kuchling2000-06-271-1/+1
|
* Sync to ESR's current versionAndrew M. Kuchling2000-06-271-22/+28
|
* Drop back to old version of wrapper(); ESR reports that it broke things,Andrew M. Kuchling2000-06-271-4/+16
| | | | and I lack the time to track down the cause.
* Added two modules for ASCII characters and a simple editing form (ESR)Andrew M. Kuchling2000-06-262-0/+261
|
* Add wrapper for initscr() to copy the ACS_ and LINES,COLS bindingsAndrew M. Kuchling2000-06-261-0/+16
|
* Applied simplifications suggested by Greg Stein.Andrew M. Kuchling2000-06-101-15/+4
|
* Add contents of curses packageAndrew M. Kuchling2000-06-102-0/+68