bpo-37892: Use space indents in IDLE Shell#25678
Conversation
Adding a newline to the prompt moves it out of the way of user code input, which now starts at the left margin, along with continuation lines.
|
@taleinat I hope I am not surprising you too much. Unless you find reason why not, I am inclined to merge this tomorrow and leave it to you to merge this in with master, add a toggle*, and test that this works with sidebar toggled off. Or make the 3 little changes to the other PR to test. Or I will tomorrow (it is 2:40 am here).
Then switch to this addition. Actually, I intend to revise the current mostly useless help message. It could instead be removed and permanently replaced with something more useful. People should know about Help -> About. |
|
For beta, we might mention sending feedback to [email protected]. (I just posted to that address to test and it worked.) |
|
I tried this too. I think I have a slight preference for Tal's version (with the prompts in the margin) because in his version it's easier to distinguish input from output that way, and because it's easier to copy/paste blocks of code that span multiple prompts. |
|
Shell with sidebar looks even better with proper indents. |
|
@terryjreedy, this is great! (Sorry for not getting to comment on this earlier.) I'm pleasantly surprised that this simple change appears to "just work" so nicely. |
|
please merge origin/master into your branch to include this, and the test fix. |
Adding a newline to the prompt moves it out of the way of
user code input, which now starts at the left margin,
along with continuation lines.
https://bugs.python.org/issue37892