#914·tview

Bypassing text view and printing directly on screen using fmt.Print

Author: ArthurD3ntCreated Nov 7, 2023Updated Aug 7, 2026

I have a simple Flex view with two panes, a sort of file explorer on the left and a markdown renderer view on the right

image

I want to use a custom renderer called glamour and (ideally) simply fmt.Print() the output of the render like it's indicated on the library's wiki.

So I basically want to avoid translating the output from ANSI to TextView using the TranslateANSI() function that defeats the purpose of using this render, is there any way I can do that?

Thanks