Skip to content

fix(api): prevent wide API tables from soft-wrapping#13

Merged
francoischalifour merged 4 commits into
mainfrom
fc/make-api-table-scrollable
Jun 30, 2026
Merged

fix(api): prevent wide API tables from soft-wrapping#13
francoischalifour merged 4 commits into
mainfrom
fc/make-api-table-scrollable

Conversation

@francoischalifour

Copy link
Copy Markdown
Member

API table output could render wider than the terminal without entering the pager, causing terminals to soft-wrap rows and break table borders.

Preview

Before

Screenshot - Ghostty - ~ cwfaltertable-cli - 2026-06-30 at 11 24 18

After

Screenshot - Ghostty -  binaltertable api ~ cwfaltertable-cli - 2026-06-30 at 11 20 41

@cursor cursor Bot force-pushed the fc/make-api-table-scrollable branch from 30fe1e0 to 74d03f3 Compare June 30, 2026 12:39
Allow normalized command output to opt human text into the existing pager path, then use that opt-in for the full API routes table. This keeps JSON output unchanged while ensuring horizontally scrollable route rows actually enter the pager instead of soft-wrapping directly on stdout.
Set LESSCHARSET for paged CLI output so box drawing characters render correctly under less while preserving explicit user charset overrides. Keep pager environment construction testable without mutating process.env.
@francoischalifour francoischalifour merged commit 56fbeb6 into main Jun 30, 2026
4 checks passed
@francoischalifour francoischalifour deleted the fc/make-api-table-scrollable branch June 30, 2026 13:26
francoischalifour added a commit that referenced this pull request Jul 9, 2026
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2026-07-09)


### Features

* add `altertable duckdb` command
([#27](#27))
([e114b11](e114b11))
* add `schema` command
([#21](#21))
([f713a80](f713a80))
* add first-class profile workflows and OAuth login profiles
([#23](#23))
([3ce655f](3ce655f))
* add one-shot shell completion installer
([#9](#9))
([3984fe8](3984fe8))
* auto-provision ephemeral lakehouse credentials after login
([#22](#22))
([d9d815f](d9d815f))
* avoid `--statement` flag for query
([#26](#26))
([23c5dc8](23c5dc8))
* **cli:** add origin-aware CLI update command
([#18](#18))
([5077028](5077028))
* **cli:** support lakehouse upsert endpoint
([#5](#5))
([d6ec3b8](d6ec3b8))
* implement `login` command
([#20](#20))
([1300577](1300577))
* improve human and agent experience
([#8](#8))
([135414f](135414f))
* refine shell completion UX
([#33](#33))
([bd2c605](bd2c605))
* replace `configure` by `profile --configure`
([#28](#28))
([fcf05b5](fcf05b5))


### Bug Fixes

* **api:** normalize api args to ensure the HTTP verb is optional
([#11](#11))
([78b32df](78b32df))
* **api:** prevent wide API tables from soft-wrapping
([#13](#13))
([56fbeb6](56fbeb6))
* **ci:** verify executable step path
([#1](#1))
([4044001](4044001))
* **cli:** remove active context from usage output
([#32](#32))
([9d2a4ad](9d2a4ad))
* **lakehouse:** allow append task without append row flags
([#19](#19))
([6ded957](6ded957))
* main concurrent merge issue
([#37](#37))
([335252c](335252c))
* tighten body validation and stream timeout handling
([#16](#16))
([4c4ce08](4c4ce08))
* validate lakehouse upload files before streaming the payload
([#15](#15))
([0e49b6e](0e49b6e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
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.

3 participants