Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving from odin-color to odin-terminal #12

Open
11 tasks
hrszpuk opened this issue Mar 6, 2024 · 0 comments
Open
11 tasks

Moving from odin-color to odin-terminal #12

hrszpuk opened this issue Mar 6, 2024 · 0 comments
Assignees

Comments

@hrszpuk
Copy link
Owner

hrszpuk commented Mar 6, 2024

Moving away from being a package just for ANSI colours and adding support for text styling, cursor movements, better colours, and improved cross-platform support.

The aim of the package (called odin-terminal going forward) will be an high-level API to interact with the terminal.

I will split the package up into sub-packages:

  • graphics: colors (8-bit, RGB, etc) and effects (blink, underline, etc)
  • cursor: moving the cursor around,
  • screen: changing screen width, colour mode, etc
  • keyboard: detecting key presses in the terminal
  • mouse: mouse position, clicking, scrolling, etc
  • termios: C foreign bindings for termios.h
  • clipboard: access to copy/paste
  • sound: making beeps and boops

Related issues:

Roadmap

  • Graphics package:
    • Move colour api to graphics package
    • Add rgb and on_rgb
    • Add text styles
    • Examples for the graphics package
  • Set up GitHub Actions to test all examples
  • Cursor package:
    • Cursor controls api
    • Cursor erasing methods
    • Cursor visibility
    • Examples for cursor package
@hrszpuk hrszpuk pinned this issue Mar 6, 2024
@hrszpuk hrszpuk self-assigned this Mar 6, 2024
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

No branches or pull requests

1 participant