Skip to content

feat: add per-column resize, auto-fit, and cell peek overlay#33

Open
dirsigler wants to merge 1 commit into
maaslalani:mainfrom
dirsigler:main
Open

feat: add per-column resize, auto-fit, and cell peek overlay#33
dirsigler wants to merge 1 commit into
maaslalani:mainfrom
dirsigler:main

Conversation

@dirsigler

Copy link
Copy Markdown
  • Enter: peek popup showing full cell value in centered overlay
  • +/-: resize current column width only (per-column widths)
  • =: auto-fit current column to widest content
  • :fitall/:fa: auto-fit all columns at once
  • Overlay uses ANSI-aware string manipulation (charmbracelet/x/ansi)
  • Added 12 tests covering all new features

Out of transparancy:
This is done mostly via AI, but tested with real data manually by me till satisfied.

Closes #20

- Enter: peek popup showing full cell value in centered overlay
- +/-: resize current column width only (per-column widths)
- =: auto-fit current column to widest content
- :fitall/:fa: auto-fit all columns at once
- Overlay uses ANSI-aware string manipulation (charmbracelet/x/ansi)
- Added 12 tests covering all new features
@dirsigler

Copy link
Copy Markdown
Author

@maaslalani could you please approve the workflow run ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Column width fitting

1 participant