Skip to content

Commit 8d9d01d

Browse files
Small simplification in Screen code.
See also: #1877
1 parent 15f3aec commit 8d9d01d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/prompt_toolkit/layout/screen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def __init__(
169169

170170
#: Escape sequences to be injected.
171171
self.zero_width_escapes: defaultdict[int, defaultdict[int, str]] = defaultdict(
172-
lambda: defaultdict(lambda: "")
172+
lambda: defaultdict(str)
173173
)
174174

175175
#: Position of the cursor.

0 commit comments

Comments
 (0)