-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable history and auto-completion for embedded SQLite3 engine #1282
Conversation
Signed-off-by: DL6ER <dl6er@dl6er.de>
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/sqlite3-autocomplete/52530/2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add -DHAVE_READLINE and the -lreadline and -lncurses libraries to get command-line editing support.
https://www.sqlite.org/howtocompile.html
Do we have those "-lreadline and -lncurses libraries" inclueded?
Yes, Lines 206 to 213 in 7387e81
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving. Please wait for feedback from discourse before merging.
Reported to be working on discourse: |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-ftl-v5-14-web-v5-11-and-core-v5-9-released/53529/1 |
By submitting this pull request, I confirm the following:
How familiar are you with the codebase?:
10
See title. Everything was already configured correctly, we just needed to enable the feature. For the sake of simplicity, we use the history of
sqlite3
so you can immediately usepihole-FTL sql
with your recent history. Auto-completion is available though Tab, as usual.