peterh / liner

Pure Go line editor with history, inspired by linenoise
MIT License
1.04k stars 132 forks source link

Add support for Solaris #152

Closed peterh closed 2 years ago

peterh commented 2 years ago

Add full line editing support for Solaris. This is an updated version of the patch submitted by @ichizok in #139

peterh commented 2 years ago

@ichizok if you could test this version on Illumos / Solaris, I would appreciate it. Thanks.

ichizok commented 2 years ago

I tried the example in README.md, on OpenIndiana, but didn't work well. It seems the tty settings are not proper. I'm investigating it.

ichizok commented 2 years ago

Sorry for the late reply, I confirmed the latest commit https://github.com/peterh/liner/commit/58a158787cd552b11ce4a45f589a5452072c1fc0 and It seems to work OK. Thank you.

peterh commented 2 years ago

Thanks for testing.