From b6f150ad407f3216f4ea5e2713c14543d3710162 Mon Sep 17 00:00:00 2001 From: Alex Frieder Date: Mon, 1 Dec 2025 02:00:32 -0500 Subject: [PATCH] Add wrap_lines to docstrings window --- src/ptpython/layout.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ptpython/layout.py b/src/ptpython/layout.py index 8d030dd..4991d07 100644 --- a/src/ptpython/layout.py +++ b/src/ptpython/layout.py @@ -741,6 +741,7 @@ def menu_position() -> int | None: # lexer=PythonLexer, ), height=D(max=12), + wrap_lines=True, ), filter=HasSignature(python_input) & ShowDocstring(python_input)