TerminalBuilder equiv for org.jline.terminal.dumb.color

32 views
Skip to first unread message

Brad Wood

unread,
Mar 31, 2021, 10:37:15 AM3/31/21
to jline...@googlegroups.com
Is there an equivalent method for the system property org.jline.terminal.dumb.color avaialble in the Terminal Builder?  Or is it only possible to enable this feature via a system property.

Thanks!

~Brad

Developer Advocate
Ortus Solutions, Corp 

ColdBox Platform: http://www.coldbox.org 

Guillaume Nodet

unread,
Apr 1, 2021, 9:21:24 AM4/1/21
to jline...@googlegroups.com
Unfortunately, such a flag is not available on the TerminalBuilder.
I'm not really sure we need a flag specifically for the org.jline.terminal.dumb.color option, but rather a slightly more generic boolean flag for a new color field on the builder that would be used if explicitely set or default to the current behavior if not.  Like the type, jna, jansi, exec and dumb fields...

Guillaume

--
You received this message because you are subscribed to the Google Groups "jline-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jline-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jline-users/CALbQ1onMUhXf_g3YNRDQFDiicZUrA_YRBM45nAGjSgMvKK6iqg%40mail.gmail.com.

Guillaume Nodet

unread,
Apr 1, 2021, 9:48:51 AM4/1/21
to jline...@googlegroups.com
I've pushed a PR at https://github.com/jline/jline3/pull/662, can you have a look ?

Guillaume

Brad Wood

unread,
Apr 1, 2021, 10:09:11 AM4/1/21
to jline...@googlegroups.com
Thanks for the quick reply.  Your pull looks great.  I can set the system prop fairly easily, but the builder is just a little cleaner.  

Thanks!

~Brad

Developer Advocate
Ortus Solutions, Corp 

ColdBox Platform: http://www.coldbox.org 


Reply all
Reply to author
Forward
0 new messages