Issue 17060: IDLE -- jump to home should not go past the PS1 and PS2 prompts (original) (raw)
Issue17060
Created on 2013-01-28 09:17 by rhettinger, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg180841 - (view) | Author: Raymond Hettinger (rhettinger) * ![]() |
Date: 2013-01-28 09:17 |
In IDLE's shell, pressing or currently jumps to the beginning of a line. Instead it should stop *after* the ">>> " prompt. | ||
msg181155 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2013-02-02 09:53 |
On my Win 7 system, with 3.3.0, the first Home sends the cursor to the beginning of the user entry, after '>>> '. The second sends it to the beginning of the display line. And so forth, as intended. See #3851. (It worked the same with Win xp and 3.1) If are getting different behavior, what os and py versions? | ||
msg185883 - (view) | Author: Roger Serwy (roger.serwy) * ![]() |
Date: 2013-04-03 04:07 |
When using the IDLE Classic OSX key set, the "beginning-of-line" virtual event gets bound to . Using this key set I can repeat the behavior that Raymond observed. The .home_callback() in Lib/idlelib/EditorWindow.py contains the logic from #3851 for placing the cursor at the beginning of the prompt, but it requires that a key combination be bound to the beginning-of-line virtual event. Should we append " " to the begining-of-line config in Lib/idlelib/config-keys.def ? | ||
msg296373 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2017-06-19 20:45 |
I am closing this instead of #18444 because the latter has more extensive discussion. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:41 | admin | set | github: 61262 |
2017-06-19 20:45:59 | terry.reedy | set | status: open -> closedsuperseder: IDLE: Revise macOS key bindings, make new one.messages: + resolution: duplicatestage: resolved |
2015-09-18 16:30:34 | markroseman | set | nosy: + markroseman |
2013-04-03 04:07:27 | roger.serwy | set | versions: + Python 3.4, - Python 3.1, Python 3.2nosy: + roger.serwymessages: + type: behavior -> enhancement |
2013-02-02 09:53:25 | terry.reedy | set | nosy: + terry.reedymessages: + |
2013-01-28 09:17:44 | rhettinger | create |