This commit is contained in:
Will McGugan 2020-05-05 10:14:25 +01:00
parent 6dc2c6e464
commit f7a66d7d44
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ For complete control over how a custom object is rendered to the terminal, you c
class MyObject:
def __console__(self, console: Console, options: ConsoleOptions) -> RenderResult:
yield Segment("My", "magenta")
yield Segment("Object", green")
yield Segment("Object", "green")
yield Segment("()", "cyan")