From 48c16e7c9898e611a33d35475a821904ec577cb9 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 10 Jul 2022 08:48:53 +0100 Subject: [PATCH] default rich --- pyproject.toml | 4 ++-- src/textual/_segment_tools.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0b932972b..5b058e02a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,8 +22,8 @@ textual = "textual.cli.cli:run" [tool.poetry.dependencies] python = "^3.7" -#rich = "^12.4.3" -rich = {path="../rich", develop=true} +rich = "^12.4.3" +#rich = {path="../rich", develop=true} importlib-metadata = "^4.11.3" typing-extensions = { version = "^4.0.0", python = "<3.8" } diff --git a/src/textual/_segment_tools.py b/src/textual/_segment_tools.py index 6c464fae8..df9455f8e 100644 --- a/src/textual/_segment_tools.py +++ b/src/textual/_segment_tools.py @@ -10,7 +10,6 @@ from rich.segment import Segment from rich.style import Style from ._cells import cell_len -from ._types import Lines def line_crop(