invisible cursor in ncurses5

Ulf Betlehem flu at
Mon Apr 24 16:14:54 EDT 2000

        Using curses modules included with most python distributions,
        there seems to be no way to turn off the cursor if the module
        is linked against ncurses5. (earlier versions are ok)

        Even though the included manpage for leaveok() states that "If
        possible, the cursor is made invisible when this option is
        enabled.", ncurses5 makes no such effort. Instead, the user is
        expected to call curs_set() explicitly, which is NOT supported
        by the python curses module.

        I have no idea why this behaviour was changed. The NEWS file
        for ncurses5 only says: "remove spurious curs_set() call from
        leaveok() (J.T.Conklin)."

        Is there a good solution to this problem?


More information about the Python-list mailing list