[GH-ISSUE #126] Support --width flag for non-terminal output #49

Closed
opened 2026-06-08 11:25:27 +03:00 by zhus · 1 comment
Owner

Originally created by @Nemo157 on GitHub (Nov 13, 2020).
Original GitHub issue: https://github.com/bootandy/dust/issues/126

I want to show dust output inside some environments where it is not possible to read the terminal width. The simplest example is if piping the output into a pager like less:

temp

These environments normally have variables available that can be passed into the command, so being able to specify something like --width=$COLUMNS would be useful.

Originally created by @Nemo157 on GitHub (Nov 13, 2020). Original GitHub issue: https://github.com/bootandy/dust/issues/126 I want to show `dust` output inside some environments where it is not possible to read the terminal width. The simplest example is if piping the output into a pager like `less`: ![temp](https://user-images.githubusercontent.com/81079/99066952-22983300-25aa-11eb-8486-ba41a1c02f8a.png) These environments normally have variables available that can be passed into the command, so being able to specify something like `--width=$COLUMNS` would be useful.
zhus closed this issue 2026-06-08 11:25:27 +03:00
Author
Owner

@bootandy commented on GitHub (Nov 19, 2020):

yep I'm happy to add this flag.

<!-- gh-comment-id:729988653 --> @bootandy commented on GitHub (Nov 19, 2020): yep I'm happy to add this flag.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#49