Proplem with custom `print!` implementation

I'm creating my own operating system and I am currently migrating it from using the bootloader crate to using Limine. But when trying to implement print! using Flanterm nothing gets printed. I suspect that it is my messing something up with the fmt implemented for my Writer but I am not sure. The source code can be found here: infinityos-dev/core/flanterm

Where are you calling FlantermContextWrapper::new()? It looks like you are calling flanterm_write with a null pointer.