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

gettin started on working on backend #2

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

Conversation

Ragnyll
Copy link
Owner

@Ragnyll Ragnyll commented May 6, 2023

Things that will have to change:

  • Add crossterm_backend.rs and have it flip using a feature
  • AppConfig:
    • This might not actually have to immediatley change. XDG open does lock this to using linux, but that's ok now. i just need the crossterm backend to work
  • AppEvent: has some hard binds to termion

@Ragnyll
Copy link
Owner Author

Ragnyll commented May 6, 2023

This may be a little tricker than i thought. There are fundamental differences in the way that termion and crossterm execute, so just creating a drop in replacement may not work.

Right now I'm thinking the way to go about this is to create a Backend trait. then have both the termion backend and crossterm backend implement that.

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.

1 participant