tursodatabase / libsql-shell-go

7 stars 7 forks source link

Change readline to go-promt #51

Closed luisfvieirasilva closed 1 year ago

luisfvieirasilva commented 1 year ago

To merge after turso-cli integration: We wanna change from readline to go-promt since it's a more complete library that will help us to autocomplete user input latter

luisfvieirasilva commented 1 year ago

After some tests with go-prompt we found several bugs and problems and decided to not use it. Most important ones are:

The decision it to use readline autocomplete for now (autocompletion when type tab). In future, we can use some TUI framework, like bubbletea to mimic go-prompt to have a nice visual suggestion