jart / bestline

ANSI Standard X3.64 Teletypewriter Command Session Library
Other
443 stars 29 forks source link

Would like a way to turn off parenthesis matching. #25

Closed octetta closed 1 year ago

octetta commented 1 year ago

I have a rather odd syntax I want to support using bestline, that uses unmatched parenthesis.

I've disabled this locally by just forcing IsBalanced() to return 1.

Should this be a runtime option?

If there's interest, I can dig further on a more elegant way to handle.

jethrodaniel commented 1 year ago

Looks like this is handled by https://github.com/jart/bestline/pull/28

octetta commented 1 year ago

Yes, and thanks. I'll close it.