From b99f143e9b3701b5af3b6145a7cde1c135fb155d Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:54:09 +0000 Subject: [PATCH] fix: replace textlog references (#3663) --- docs/examples/guide/input/mouse01.tcss | 2 +- src/textual/widgets/_log.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/guide/input/mouse01.tcss b/docs/examples/guide/input/mouse01.tcss index a37245093e..bdc184c6a9 100644 --- a/docs/examples/guide/input/mouse01.tcss +++ b/docs/examples/guide/input/mouse01.tcss @@ -2,7 +2,7 @@ Screen { layers: log ball; } -TextLog { +RichLog { layer: log; } diff --git a/src/textual/widgets/_log.py b/src/textual/widgets/_log.py index 60e343c6a3..0f4a4bc6be 100644 --- a/src/textual/widgets/_log.py +++ b/src/textual/widgets/_log.py @@ -75,7 +75,7 @@ def __init__( @property def lines(self) -> Sequence[str]: - """The raw lines in the TextLog. + """The raw lines in the Log. Note that this attribute is read only. Changing the lines will not update the Log's contents.