1

While doing this in python:

tp = curses.textpad.Textbox(stdscr, insert_mode=True)
text = tp.edit()

I get

RuntimeError: maximum recursion depth exceeded while calling a Python object

Could you please tell me how to enable insert mode in curses.textpad? Thanks in advance.

1 Answer 1

1

Patch in http://bugs.python.org/issue13051 solves the issue. Thanks to Narendra Sisodiya :)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.