cpython/Lib/_pyrepl
Miss Islington (bot) 865bfb1530
[3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327)
gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324)

When display lines above the cursor come from the cache, the first line
to not come from the cache may be a wrapped line, starting half way
through a logical line in the buffer. Detect and handle this case to
avoid accidentally drawing a stray prompt in the middle of a logical
line.
(cherry picked from commit 602fcf97df)

Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
2024-08-26 02:13:36 +01:00
..
__init__.py
__main__.py [3.13] gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) (#121916) 2024-07-17 16:52:46 +02:00
_minimal_curses.py [3.13] Improve `pyrepl` type-annotation coverage (GH-119081) (#119415) 2024-05-22 18:38:32 +00:00
commands.py [3.13] gh-119517: Fixes for pasting in pyrepl (GH-120253) (#120353) 2024-06-11 17:09:28 +00:00
completing_reader.py [3.13] gh-119517: Fixes for pasting in pyrepl (GH-120253) (#120353) 2024-06-11 17:09:28 +00:00
console.py [3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252) 2024-08-23 12:59:08 +01:00
curses.py
fancy_termios.py
historical_reader.py [3.13] gh-121499: Fix multi-line history rendering in the REPL (GH-121531) (#121679) 2024-07-13 15:56:56 +02:00
input.py [3.13] Improve `pyrepl` type-annotation coverage (GH-119081) (#119415) 2024-05-22 18:38:32 +00:00
keymap.py [3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414) 2024-05-22 23:13:01 +02:00
main.py [3.13] gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-121958) (GH-122115) 2024-07-22 13:36:57 +02:00
mypy.ini [3.13] Enable some stricter mypy settings on `Lib/_pyrepl` (GH-119077) (#119428) 2024-05-22 23:13:47 +02:00
pager.py [3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#120429) 2024-06-12 19:27:32 +00:00
reader.py [3.13] gh-123177: Fix prompt for wrapped lines in pyrepl (GH-123324) (#123327) 2024-08-26 02:13:36 +01:00
readline.py [3.13] gh-123228: fix return type for _ReadlineWrapper.get_line_buffer() (GH-123281) (#123293) 2024-08-24 16:11:17 +00:00
simple_interact.py [3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451) 2024-07-30 12:34:22 -07:00
trace.py
types.py
unix_console.py [3.13] gh-123177: Deactivate line wrap for Apple Terminal via scape codes in the new REPL (GH-123267) (#123322) 2024-08-25 22:01:56 +00:00
unix_eventqueue.py
utils.py [3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451) 2024-07-30 12:34:22 -07:00
windows_console.py [3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451) 2024-07-30 12:34:22 -07:00