xo / usql

Universal command-line interface for SQL databases
MIT License
8.81k stars 346 forks source link

Prompt `%/` doesn't reflect the actual database #467

Open zhangyangyu opened 1 month ago

zhangyangyu commented 1 month ago

Currently prompt %/ only reflect the database in URL. If the connected database is changed(use in MySQL or \c in PG), the prompt doens't change.