Module for handling multiple `colorama.init()` calls
Created by: Makman2
Like @AbdealiJK discovered colorama
crashes on multiple calls to colorama.init()
.
We should think about a module that handles this sort of thing, so a ConsolePrinter would just do our_colorama.init()
which spawn a handle, and on __del__
we call our_colorama.deinit(handle)
. Then our_colorama
would automatically deinitialize colorama
(via deinit()
) when no handles exist any more^^