zjp-CN / term-rustdoc

[WIP] A TUI for Rust docs that aims to improve the UX on tree view and generic code.
17 stars 1 forks source link

Outline: use max_width in visual lines instead of in all lines #12

Closed zjp-CN closed 7 months ago

zjp-CN commented 7 months ago

Current

截图_20240318195145

After the fix

Outline will auto-fit the max width in visual lines, causing Content panel width changes more frequently. The downside is less important because entering inner item also leads to frequent change in Content width.