I noticed that when format or similar methods that print to the listener are called from .net method the output is black instead of default blue color.
Is there any workaround to keep output colors consistent?
example:
t = dotNetObject "system.windows.forms.timer"
t.interval = 1000
fn OnTick sender args =
(
format "\n"
showInterface UIAccessor
sender.Stop()
)
dotNet.addEventHandler t "Tick" OnTick
t.start()
clearListener()
format "\n"
showInterface UIAccessor
-- t.dispose()