mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 04:55:58 +03:00
[GH-ISSUE #622] tests: remove libc dependency and env mutation in terminal tests #936
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#936
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @simonklee on GitHub (Feb 4, 2026).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/622
Originally assigned to: @simonklee on GitHub.
Terminal tests currently require libc just to set/unset env vars, which changes the threading implementation used in tests versus production (for instance). pthreads in tests; build uses raw
clone().Tests also mutate global process env, which is not thread-safe and can cause flakiness.
To drop the libc requirement we can allow Terminal to accept EnvMap so tests don't touch process env.