Skip to content

Commit 328ee92

Browse files
vicalloyjonathanslenders
authored andcommitted
remove unnecessary dict lookup in screen.py
1 parent 7e45b22 commit 328ee92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompt_toolkit/layout/screen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def append_style_to_content(self, style_str: str) -> None:
272272

273273
for y, row in b.items():
274274
for x, char in row.items():
275-
b[y][x] = char_cache[char.char, char.style + append_style]
275+
row[x] = char_cache[char.char, char.style + append_style]
276276

277277
def fill_area(
278278
self, write_position: "WritePosition", style: str = "", after: bool = False

0 commit comments

Comments
 (0)