mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Be explicit about the type of TextLog.max_lines
This commit is contained in:
@@ -31,7 +31,7 @@ class TextLog(ScrollView, can_focus=True):
|
||||
}
|
||||
"""
|
||||
|
||||
max_lines: var[int | None] = var(None)
|
||||
max_lines: var[int | None] = var[int | None](None)
|
||||
min_width: var[int] = var(78)
|
||||
wrap: var[bool] = var(False)
|
||||
highlight: var[bool] = var(False)
|
||||
|
||||
Reference in New Issue
Block a user