Skip to content

Conversation

@wojpok
Copy link
Collaborator

@wojpok wojpok commented Nov 5, 2025

This is part of #256 PR separated for easier review and merging

@wojpok wojpok marked this pull request as ready for review November 5, 2025 10:26
Copy link
Member

@ppolesiuk ppolesiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I have some minor comments regarding documentation and code formatting (see below).

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new ANSI terminal control library that provides escape codes for terminal manipulation. The module includes functionality for cursor movement, screen clearing, text styling, and screen buffering control.

  • Introduces the AnsiTerminal module with ANSI escape code constants and functions
  • Provides organized submodules for cursor control, screen erasing, font/color styling, and buffering
  • Implements helper functions that generate ANSI escape sequences for various terminal operations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ppolesiuk
Copy link
Member

Copilot wrote some comments that could be addressed. And there is still one typo from the previous review, that is not fixed.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wojpok
Copy link
Collaborator Author

wojpok commented Nov 16, 2025

The longer I look at this PR, the more questionable this module seems to me. I’m not sure the standard library is the right place for it. Yes, I implemented it ahead of time, when I was shaping the pretty-printer, but now that the dust has settled, I’m left wondering whether this whole thing makes for a good design. On the other hand the Testing module also requires part of this functionality. Separate module with definitions would spare us some amount of boilerplate in other modules. But honestly, is it worth it?

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 9 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@ppolesiuk ppolesiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is ready for merge. Thanks!

@ppolesiuk ppolesiuk merged commit 1dde2b9 into fram-lang:master Nov 23, 2025
1 check passed
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.

2 participants