We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ScreenOverlay
1 parent df102d6 commit c13ea9bCopy full SHA for c13ea9b
Lib/_pyrepl/render.py
@@ -157,11 +157,12 @@ class ScreenOverlay:
157
If *insert* is True, lines are spliced in (shifting content down);
158
if False (default), lines replace existing content at *y*.
159
160
+ Overlays are used to display tab completion menus and status messages.
161
For example, a tab-completion menu inserted below the input::
162
163
>>> os.path.j ← line 0 (base content)
- join ← ScreenOverlay(y=1, insert=True)
164
- junction ← (pushes remaining lines down)
+ join ← ScreenOverlay(y=1, insert=True)
165
+ junction ← (pushes remaining lines down)
166
... ← line 1 (shifted down by 2)
167
"""
168
y: int
0 commit comments