Skip to content

Commit

Permalink
Small simplification in Screen code.
Browse files Browse the repository at this point in the history
See also: #1877
  • Loading branch information
jonathanslenders committed Jun 10, 2024
1 parent 15f3aec commit 8d9d01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prompt_toolkit/layout/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __init__(

#: Escape sequences to be injected.
self.zero_width_escapes: defaultdict[int, defaultdict[int, str]] = defaultdict(
lambda: defaultdict(lambda: "")
lambda: defaultdict(str)
)

#: Position of the cursor.
Expand Down

0 comments on commit 8d9d01d

Please sign in to comment.