use real terminal width to determine markdown width in 'api show'

This commit is contained in:
2026-06-17 13:33:03 +02:00
parent f1ff361c12
commit 49bc2c7acb
3 changed files with 32 additions and 8 deletions

3
go.mod
View File

@@ -90,6 +90,7 @@ require (
golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect
golang.org/x/image v0.0.0-20191206065243-da761ea9ff43 // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/sys v0.45.0 // indirect
golang.org/x/sys v0.46.0 // indirect
golang.org/x/term v0.44.0 // indirect
golang.org/x/text v0.37.0 // indirect
)