Open randy3k opened 2 years ago
https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/examples/prompts/operate-and-get-next.py
I remember that ctrl-o used to work in v2.0 but it no longer works in v3.0.
ctrl-o
I tracked down the issue. It is because set_working_index is run before the history is loaded so buff._working_lines is empty.
set_working_index
buff._working_lines
https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/examples/prompts/operate-and-get-next.py
I remember that
ctrl-o
used to work in v2.0 but it no longer works in v3.0.