File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
8+ ## [ 0.8.2] - 2022-12-28
9+
10+ ### Fixed
11+
12+ - Fixed issue with TextLog.clear() https://github.com/Textualize/textual/issues/1447
13+
814## [ 0.8.1] - 2022-12-25
915
1016### Fixed
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " textual"
3- version = " 0.8.1 "
3+ version = " 0.8.2 "
44homepage = " https://github.com/Textualize/textual"
55description = " Modern Text User Interface framework"
66authors = [
" Will McGugan <[email protected] >" ]
Original file line number Diff line number Diff line change @@ -131,7 +131,8 @@ def write(
131131
132132 def clear (self ) -> None :
133133 """Clear the text log."""
134- del self .lines [:]
134+ self .lines .clear ()
135+ self ._line_cache .clear ()
135136 self ._start_line = 0
136137 self .max_width = 0
137138 self .virtual_size = Size (self .max_width , len (self .lines ))
You can’t perform that action at this time.
0 commit comments