Skip to content

Fix cross platform support#1

Open
Ars-Mond wants to merge 1 commit into
masterfrom
codex/найти-и-исправить-ошибку-в-коде

Hidden character warning

The head ref may contain hidden characters: "codex/\u043d\u0430\u0439\u0442\u0438-\u0438-\u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c-\u043e\u0448\u0438\u0431\u043a\u0443-\u0432-\u043a\u043e\u0434\u0435"
Open

Fix cross platform support#1
Ars-Mond wants to merge 1 commit into
masterfrom
codex/найти-и-исправить-ошибку-в-коде

Conversation

@Ars-Mond

@Ars-Mond Ars-Mond commented Jun 5, 2025

Copy link
Copy Markdown
Owner

Summary

  • make tree script cross-platform
  • print using ANSI codes on non-Windows systems
  • detect terminal size with shutil
  • add helper to clear console on any OS

Testing

  • python -m py_compile main.py

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

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.

1 participant