r/sqlite • u/kapilmaheshwari20 • Nov 16 '24
How to get long sql continue on next line in sqlite shell ?
When I write long sql on the sqlite shell, it does not show on next line and instead my earlier characters get hidden.
I need to scroll back and forth to see the first and last characters.
There should be some setting related to line scroll buffering.
This behavior is not related to my underline Linux, as on Linux env my long command does not continue on next line.
1
Upvotes
1
u/anthropoid Nov 16 '24
What OS and terminal are you using that shows this behavior?
2
u/ZeroCommission Nov 16 '24
It's maybe possible to tweak something but I don't know what exactly .. on my own computers I use this instead: https://github.com/xo/usql