aziz / SublimeFileBrowser

Ditch sidebar and browse your files in a normal tab with keyboard, like a pro!
MIT License
395 stars 45 forks source link

Error in header line (should be an easy fix) #152

Open GandhiTC opened 4 years ago

GandhiTC commented 4 years ago

When you have word wrap enabled, and the directory/header text becomes long, it could take up multiple lines. The problem is that the line that is drawn below the header also takes up just as many lines.

I would suggest making the line's length be something like: math.min(window pane's inner width, width of header text)

this way you have a consistent single line that acts as a separator.

Or you could just remove the line all together and replace it with an actual separator if that is possible.