From f193d0f5b3edc17423417808730e16e02ca83dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Mon, 15 Jul 2024 16:32:16 -0700 Subject: [PATCH] adjust table column widths --- internal/tables/tables.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/tables/tables.go b/internal/tables/tables.go index 9401093..0c57661 100644 --- a/internal/tables/tables.go +++ b/internal/tables/tables.go @@ -64,9 +64,9 @@ type model struct { func newModel(fs []files.File, width, height int, readonly, preselected, once bool, workdir string, mode modes.Mode) model { var ( - fwidth int = int(math.Round(float64(width-woffset) * 0.4)) - owidth int = int(math.Round(float64(width-woffset) * 0.2)) - dwidth int = int(math.Round(float64(width-woffset) * 0.25)) + fwidth int = int(math.Round(float64(width-woffset) * 0.45)) + owidth int = int(math.Round(float64(width-woffset) * 0.25)) + dwidth int = int(math.Round(float64(width-woffset) * 0.15)) swidth int = int(math.Round(float64(width-woffset) * 0.12)) cwidth int = int(math.Round(float64(width-woffset) * 0.03)) theight int = min(height-hoffset, len(fs))