Replies: 1 comment 7 replies
-
This is usually known as a hanging indent in word processing. The trick is that the first line is not indented at all, whereas all the subsequent lines are. I really want this feature too! 😳 You can of course indent all wrapped lines by the same amount using e.g. I wish hanging = Padding.indent(Text("key: ---------- " * 50), level=4, first_line_level=0) # TODO: Does not exist :-( |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I add indents to wrapped lines? I tried overriding
Text.wrap
and looking through a few of the Console methods, but there didn't seem to be a configuration option.I would like to add indents to the wrapped text when printed, so that:
Outputs something like this (where each new line has an extra four spaces):
I tried
end
, but that is only after the line and not on fold:Blocking: KyleKing/tail-jsonl#1
Beta Was this translation helpful? Give feedback.
All reactions