You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tree
├── long string 0123456789101112131415161718192021
22232425262728293031323334353637383940414243444546
47484950515253545556575859606162636465666768697071
72737475767778798081828384858687888990919293949596
979899
└── short string 0123456789
in case i am printing tree with no_wrap=True, it cuts what does not fit:
tree
├── long string 0123456789101112131415161718192021
└── short string 0123456789
long string is cutted, and there is nothing between lines 2 and 3, but I want nothing to be cut
in case i am printing tree with no_wrap=False:
tree
├── long string
│ 0123456789101112131415161718192021222324252627
│ 2829303132333435363738394041424344454647484950
│ 5152535455565758596061626364656667686970717273
│ 7475767778798081828384858687888990919293949596
│ 979899
└── short string 0123456789
numbers are started printing prom line 3, but i want them to start from line 2
there are extra inserts of │ in lines 3, 4, 5, 6, and 7, i want to prevent this inserts
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
output i want to get after printing this tree:
in case i am printing tree with
no_wrap=True
, it cuts what does not fit:long string is cutted, and there is nothing between lines 2 and 3, but I want nothing to be cut
in case i am printing tree with
no_wrap=False
:│
in lines 3, 4, 5, 6, and 7, i want to prevent this insertsBeta Was this translation helpful? Give feedback.
All reactions