mirror of
https://github.com/1j01/textual-paint.git
synced 2025-01-09 00:28:08 +03:00
Color file paths for visual clarity
This helps a LOT, but putting it in a tooltip might still be better.
This commit is contained in:
parent
f727a3c08d
commit
a735443acc
@ -615,7 +615,7 @@ class NodeInfo(Container):
|
||||
else:
|
||||
action = f"open_file({file!r}, {line_number})"
|
||||
return Text.assemble(
|
||||
Text(f"{file}:{line_number} "),
|
||||
Text.styled(f"{file}:{line_number} ", "green"),
|
||||
Text.from_markup(f"[@click={action}](Open)[/@click]"),
|
||||
)
|
||||
except OSError as e:
|
||||
|
Loading…
Reference in New Issue
Block a user