diff options
| author | Kujtim Hoxha <[email protected]> | 2025-04-17 13:45:26 +0200 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-21 13:42:02 +0200 |
| commit | c24e3c18e0177e2e059f622a63e87249c52db2d5 (patch) | |
| tree | 51900cfe51292d61aa137ea03d43039aff627a71 /internal/tui/components/dialog | |
| parent | caea29375994373f6027c8dc4d8aa536c4e135e7 (diff) | |
| download | opencode-c24e3c18e0177e2e059f622a63e87249c52db2d5.tar.gz opencode-c24e3c18e0177e2e059f622a63e87249c52db2d5.zip | |
small improvements
Diffstat (limited to 'internal/tui/components/dialog')
| -rw-r--r-- | internal/tui/components/dialog/help.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/tui/components/dialog/help.go b/internal/tui/components/dialog/help.go index 6242017f1..644b294cb 100644 --- a/internal/tui/components/dialog/help.go +++ b/internal/tui/components/dialog/help.go @@ -26,7 +26,7 @@ func (h *helpCmp) SetBindings(k []key.Binding) { func (h *helpCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.WindowSizeMsg: - h.width = 80 + h.width = 90 h.height = msg.Height } return h, nil @@ -62,7 +62,7 @@ func (h *helpCmp) render() string { var ( pairs []string width int - rows = 12 - 2 + rows = 14 - 2 ) for i := 0; i < len(bindings); i += rows { var ( |
