Skip to content

Improve Parity With Crossterm Backend #132

@callmeclover

Description

@callmeclover

Currently, ratzilla isn't very "drop-in" as a web backend for ratatui, as it uses specialized draw functions and doesn't have many events. I would like to improve upon this. I plan on forking this repository and working on parity between this project and crossterm, as well as with ratatuis Backend trait. If this is acceptable, this should act as a tracking issue. Here are my plans:

  • Parity!
    • Replace draw_web with standard draw function.
    • Replace all on_..._event functions with a single read function.
      • Consolidate all events into an enumerator.
      • Utilize more of the event API from JavaScript.

I'll add more as I compare the API of this project with ratatui and crossterm.

Would you be open to this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproving something for the better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions