mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
This is more-or-less:
[ 1005123 ] test_curses fails on MacOS X 10.3 Be a bit more guarded about what we expect a terminal to be capable of.
This commit is contained in:
parent
3fdd43ef35
commit
2b3feec58f
1 changed files with 4 additions and 3 deletions
|
@ -140,6 +140,7 @@ def module_funcs(stdscr):
|
||||||
func()
|
func()
|
||||||
|
|
||||||
# Functions that actually need arguments
|
# Functions that actually need arguments
|
||||||
|
if curses.tigetstr("cnorm"):
|
||||||
curses.curs_set(1)
|
curses.curs_set(1)
|
||||||
curses.delay_output(1)
|
curses.delay_output(1)
|
||||||
curses.echo() ; curses.echo(1)
|
curses.echo() ; curses.echo(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue