dynamic_curses_input/CHANGELOG.md
VetheonGames a27f41a601 feat: Introduce colored text windows and enhanced positioning
This commit introduces a significant enhancement to the DynamicCursesInput gem, enabling the creation of colored text windows within the terminal. The new `DynamicCursesInput::ColorWindow` class provides methods to add colored text to the window and handle user input.

Notable changes in this commit include:
- Implementation of colored windows with customizable color schemes and text content.
- Automatic centering of text within the window when 'x' is set to 'center.'
- Fine-tuning of centered positioning to shift back by 12 cells for improved visual layout.
- Removal of Fiber reliance and adoption of instance methods to resolve positioning issues.
- Compatibility fixes for different terminal environments to ensure consistent behavior.

Additionally, bug fixes have been made to resolve issues related to text misalignment and window positioning.

This feature-rich update aims to improve the user experience and offer better control over window positioning and color schemes. We hope these enhancements will be beneficial to our users. Feedback and suggestions are always welcome!
2023-07-26 16:31:20 -06:00

1.3 KiB

[Release]

[1.0.0] - 2023-06-07

  • Initial release

[Release]

[1.1.0] - 2023-07-26

  • Features and Enhancements:

    • Added support for printing colored windows with customized positions and color schemes.
    • Introduced the DynamicCursesInput::ColorWindow class, which allows creating colored text windows within the terminal.
    • The ColorWindow class provides methods to add colored text to the window and handle user input.
    • Implemented automatic centering of text within the window when x is set to 'center'.
    • Adjusted the centered position to shift back by 12 cells for better visual layout when necessary.
    • Removed reliance on Fibers and replaced it with instance methods to resolve issues with positioning.
    • Handled compatibility issues with different terminal environments to ensure consistent behavior.
    • Refactored the code to eliminate unnecessary checks for IRB, enabling smooth execution in various contexts.
    • Improved the debug log functionality for easier debugging and troubleshooting.
  • Bug Fixes:

    • Fixed the issue causing text to be misaligned or misplaced in certain terminal environments.
    • Resolved a bug where the window position was not being updated correctly in some cases.
  • Other Changes:

    • Removed redundant and unused code snippets to improve code cleanliness and maintainability.