mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-27 05:46:34 +02:00
The slash-command popup padded every command name to 10 chars. Any command longer than 10 (/reload-ext at 11, /clear-notes at 12) skipped the padding entirely, so its description started further right than the others, breaking column alignment between the built-in section and the extension section. Fix: compute the widest name across the whole match list (both groups) and pad every row to that width. Minimum 10 so short lists don't look cramped. Both sections now share one description column x-position. |
||
|---|---|---|
| .. | ||
| telegram | ||
| btw_dialog.go | ||
| changelog_dialog.go | ||
| confirm_dialog.go | ||
| dialog_frame.go | ||
| help.go | ||
| interactive.go | ||
| json.go | ||
| jump_dialog.go | ||
| login_dialog.go | ||
| model_dialog.go | ||
| print.go | ||
| session_dialog.go | ||
| skills_dialog.go | ||
| slash_suggest.go | ||
| spinner.go | ||
| update_banner.go | ||
| welcome.go | ||