Skip to content

Fix handling of terminal columns#1

Open
131 wants to merge 1 commit into
masterfrom
codex/trouver-et-corriger-un-bug
Open

Fix handling of terminal columns#1
131 wants to merge 1 commit into
masterfrom
codex/trouver-et-corriger-un-bug

Conversation

@131

@131 131 commented Jun 4, 2025

Copy link
Copy Markdown
Owner

Summary

  • handle undefined/zero column widths when spawned without TTY
  • adjust bundle column handling for same case
  • provide eslint.config.js so npm test works with new ESLint

Testing

  • npm test

https://chatgpt.com/codex/tasks/task_e_684039c43598833190a73ab261c0c29a

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 85.311% (-0.7%) from 86.0%
when pulling 29e833b on codex/trouver-et-corriger-un-bug
into f2753ec on master.

@131

131 commented Jun 4, 2025

Copy link
Copy Markdown
Owner Author

I'd rather go with a Math.min(Math.max(X, 0), ...) to make sure the value is positive rather than a ternary

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants