#311·termui

How to use `[` and `]` characters in cells ?

Author: quantumsheepCreated Feb 7, 2022Updated Nov 9, 2022

style_parser.go implements a special feature where [ and ] characters are used to separate styled text. https://github.com/gizak/termui/blob/f976fe697aa09b747f16fa6e08c36dde5fb16f27/style_parser.go#L19-L20 https://github.com/gizak/termui/blob/f976fe697aa09b747f16fa6e08c36dde5fb16f27/style_parser.go#L105-L112

Which ends up cropping the text: CleanShot 2022-02-07 at 16 35 46@2x

Is there a way to disable this feature without having to edit the code ?