-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
split out direct mode? #1834
Comments
Thank you, I guess wont have add it to the hi-lvl rust wrappers then. But I'll wait to remove it from libnotcurses-sys until this is done. |
yeah this is months down the road at the earliest. please don't remove anything. |
maybe I'll just remove |
i mean, seriously, i'd really rather you not kill functionality if possible. what's the problem with those two? that they're using |
yeah ok np, I'll fix them too. |
so i don't see this happening for ABI3, almost certainly (though scrolling rendered mode may well be complete by then, and indeed i expect it to). but i think ABI4 will see it cast off. in that case, i think we ought prepare for a future divergence in ABI3 -- we ought split this off into |
i am feeling more and more confident that cli mode will replace direct mode. |
i've now converted |
so i'm thinking maybe we never truly deprecate direct mode -- after all, "styling your the goal instead should be to eliminate code duplication such that direct mode is an insignificant maintenance / size burden. but it's a definite conceptual cost for anyone approaching Notcurses. if we broke out
we would support a new option there's also the question of multimedia. we would have to introduce a distinct |
I've always hated Direct Mode, but it was necessary to do a certain kind of tool. With the advent of #1823, there's a path to getting away from it, and having a pure
notcurses_
world. That would be the end of a ton of code duplication with minor changes, and greatly simplify the library. I think that's a definite long-term goal.I haven't wanted to split out direct mode from libnotcurses-core yet, because it does share a good bit of code with the latter. but it definitely bloats up the library.
If the #1823 solution proves sufficiently flexible and robust, I imagine we'd want to split Direct Mode out, and make it its own library (for backwards compatibility with existing users). at that point we'd probably stop working on it.
This is post-3.0 material, but putting it down just to let people know long-term thinking.
The text was updated successfully, but these errors were encountered: