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.
1 parent 6a58564 commit c170fdaCopy full SHA for c170fda
src/prompt_toolkit/layout/screen.py
@@ -169,7 +169,7 @@ def __init__(
169
170
#: Escape sequences to be injected.
171
self.zero_width_escapes: defaultdict[int, defaultdict[int, str]] = defaultdict(
172
- lambda: defaultdict(lambda: "")
+ lambda: defaultdict(str)
173
)
174
175
#: Position of the cursor.
src/prompt_toolkit/layout/utils.py
@@ -5,7 +5,7 @@
5
from prompt_toolkit.formatted_text.base import OneStyleAndTextTuple
6
7
if TYPE_CHECKING:
8
- from typing_extensions import SupportsIndex
+ from typing import SupportsIndex
9
10
__all__ = [
11
"explode_text_fragments",
0 commit comments