calculate width of left pane based on the max length of example filenames #10
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
rustc
) version: 1.59Description
It would be ideal to calculate the current console width, then calculate the max width of the stem of each example file (filename without the extension). The max stem width can then be used to set the width of the left pane, and the remaining console width can be taken up by the preview pane on the right.
For example (note the three dots
...
below):What I Did
Within my project folder, I just ran:
The text was updated successfully, but these errors were encountered: