Andrew M. Kuchling
f19f8610fa
Modernize code a bit: use isinstance instead of type(); return True/False
2003-09-02 11:52:06 +00:00
Andrew M. Kuchling
0ec5288d09
[Patch #759208 ] Fix has_key emulation to not raise KeyError
2003-09-02 11:44:44 +00:00
Andrew M. Kuchling
b738041c5d
Rework previous fix slightly; the &0x20 test seems useless, and the isprint() check mustn't prevent the meta-bit check at the end
2003-08-29 18:50:59 +00:00
Andrew M. Kuchling
72cdb70296
[Bug #790356 ] unctrl() doesn't work for full printable charset. Fix by Dave Cinege.
2003-08-29 18:40:03 +00:00
Raymond Hettinger
ff41c48a77
SF patch #701494 : more apply removals
2003-04-06 09:01:11 +00:00
Guido van Rossum
bffa52f07f
Whitespace normalization (get rid of tabs).
2002-09-29 00:25:51 +00:00
Martin v. Löwis
9d51fc8972
Patch #521670 : Remove unused sys import.
2002-02-23 22:31:53 +00:00
Andrew M. Kuchling
fee3126eb3
Catch curses.error instead of a non-existent global (PyChecker)
...
Edit comment
2001-08-13 13:47:23 +00:00
Andrew M. Kuchling
40ea6177b9
Remove redundant import
2001-08-13 13:45:22 +00:00
Andrew M. Kuchling
37f0263811
Bug #412086 , reported by Peter Wilson: The _curses module doesn't
...
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().
2001-04-05 16:08:41 +00:00
Andrew M. Kuchling
0cc87f37b3
Make isspace(chr(32)) return true
2000-12-26 16:07:59 +00:00
Andrew M. Kuchling
9f5eeebb26
Wrapper for _curses_panel module; currently this adds nothing extra
...
beyond what's in _curses_panel
2000-12-22 21:58:29 +00:00
Eric S. Raymond
1ebd3f6c4b
Tweak curses.wrapper so it initializes colors if they are available.
2000-08-09 21:11:07 +00:00
Eric S. Raymond
5af256ded6
Corrected a bug in handling of ^N and ^P with stripspaces on.
2000-08-04 07:33:18 +00:00
Andrew M. Kuchling
b45bd325b5
Added Python function to emulate the ncurses has_key() function.
2000-08-01 01:21:11 +00:00
Andrew M. Kuchling
38f744195f
Remove extra argument to method call
2000-07-12 03:38:34 +00:00
Andrew M. Kuchling
e0d0090e76
Docstring changes.
2000-07-11 10:38:24 +00:00
Jeremy Hylton
2ea17faf4b
fix inconsistent use of tabs and spaces
...
convert semicolons to newlines
2000-07-07 21:02:22 +00:00
Andrew M. Kuchling
8628157026
Fix comment typo noticed by Rob Hooft
2000-06-27 14:15:29 +00:00
Andrew M. Kuchling
e8d7dbfe42
Sync to ESR's current version
2000-06-27 00:53:12 +00:00
Andrew M. Kuchling
8f790fe459
Drop back to old version of wrapper(); ESR reports that it broke things,
...
and I lack the time to track down the cause.
2000-06-27 00:50:40 +00:00
Andrew M. Kuchling
2b9d0bcf83
Added two modules for ASCII characters and a simple editing form (ESR)
2000-06-26 23:55:42 +00:00
Andrew M. Kuchling
289d9d4227
Add wrapper for initscr() to copy the ACS_ and LINES,COLS bindings
2000-06-26 23:54:03 +00:00
Andrew M. Kuchling
5185a084b7
Applied simplifications suggested by Greg Stein.
2000-06-10 23:39:05 +00:00
Andrew M. Kuchling
d0939fa592
Add contents of curses package
2000-06-10 23:06:53 +00:00