How do you insert new lines in the console editor?
Rakhir last edited by
I’m using Pythonista 3.3 test drive on an iPad Pro 2018 with the Apple keyboard. For the most part it works well, but I cannot seem to edit a previous entry and insert a new line. For example, if I had already entered:
and I wanted to edit it to be:
x += 1 # <<< This is the line I want to insert
I can’t seem to figure out how to do it. I have tried “return”, “command+return”, “shift+return”, “control+return” and probably others, but nothing seems to work. Am I missing something? The obvious workaround is multi-statement lines, but that isn’t very elegant (or PEP-8ish).
Also, while you are still working on this next release, would you consider swapping the up/down arrows on the keyboard to line navigation and the command+up/down to scrolling through previous edits? For me, at least, the current mapping is confusing and I frequently end up losing an edit by accidentally trying to navigate up or down.