Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
TerminalInteractiveShell.editing_mode inconsitency #10680
Comments
|
Thanks for the details report. We'll have to dig through it, but it might be a prompt_toolkit issue and a fix might be needed upstream (if not already fixed on master). |
|
Ping @jonathanslenders - IIRC we just pass the specified editing mode through to prompt_toolkit. |
|
Hi everyone, I noticed that IPython has This means that when you type something the history is filtered on this input string. Like the readline Whether or not you want to make this configurable is up to you. But I noticed that there was a bug in prompt_toolkit as well regarding this. It did consider all the input text when you started editing, rather than only the text before the cursor. jonathanslenders/python-prompt-toolkit@2fe952a Could you test again with the latest prompt_toolkit, master branch? |
yarko
commented
Jul 9, 2017
•
|
thanks @jonathanslenders - sorry for my delay in getting back to this. I use It changed things, so here's how: Behavior: with some history established:
I am thinking the remaining "bug" is the 'abandoned edit' and unchanged line, marked (not expected). Your thoughts? |
yarko commentedJun 27, 2017
I'm just going to document this for the moment:
ipython 6.1.0
python:
O/S:
ubuntu 16.04
windows 10
$HOME/.ipython/profile_default/ipython_config.pysettings:Behavior:
with some history established:
[ESC]k)i [ESC]is sufficient)k/foobar: can select searched line, but no motion from result (except original line)