Migrate ansi mod from alacritty_terminal
This is continuation of #64 Also this PR:
- adds
no_allocfeature disable all things that need allocator - syncs up
ansimodule with a reference implementation inalacritty_terminalcrate
@alesharik Out of curiosity, do you actually have an application for this personally?
@chrisduerr Hi, sorry for the delay... Yes, I'm currently using my fork of vte to implement basic terminal in my hobby OS
Do you make use of a custom allocator there, or are you planning to use this without allocator?
I'm using the crate with custom allocator
Okay, so your usecase would be no_std + alloc then, right?
Yes, it is
An allocator feature alone might be sufficient in that case. I'm not sure what we need STD for.
We need std just for Instant struct
That seems like something that could potentially be worked around.
Any updates on this? Is this still being worked on?
Is this still being worked on?
I doubt it.