Consider using readline library from github.com/chzyer/readline
Currently usql uses the Readline library from https://github.com/gohxs/readline, which is a fork of https://github.com/chzyer/readline.
However, gohxs/readline hasn't had any commits for 8 years. Seems to me the original library chzyer/readline would be a better choice these days, as it continues to be actively maintained? If it is missing something, perhaps take the code from gohxs/readline you rely on and send as Pull Request to chzyer/readline?
Any views on this @kenshaw? Can usql switch to using git head of https://github.com/gohxs/readline (github.com/gohxs/readline v0.0.0-20171011095936-a780388e6e7c)?
Related syntax highlight question: https://github.com/chzyer/readline/issues/253
In https://github.com/xo/usql/pull/535#issuecomment-3120838982 Ken replied:
I just tested this, it doesn't work with syntax highlighting, which basically makes this a no-go, as I personally made this project for 2 reasons: 1) to have a tool to use for all SQL databases with the
xo/dbtplproject, and 2) syntax highlighting, aspsql(and every other native SQL CLI I've used), doesn't support syntax highlighting.