| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
In multiline mode the bottom toolbar read "(Semi-colon [;] will end the line)", but a trailing semi-colon does not end the line - it terminates the statement and submits the query for execution (cli_is_multiline / _multiline_exception treat a trailing ';' as end-of-input). The hint now reads "(Semi-colon [;] will run the query)". Closes dbcli#266
| Back | FazBrowse Home | New Git URL |
Closes #266
Description
In multiline mode the bottom toolbar read (Semi-colon [;] will end the line). A trailing semi-colon does not end the line — cli_is_multiline / _multiline_exception treat it as end-of-input, so the statement is submitted and run. The hint now reads (Semi-colon [;] will run the query).
Added tests/test_clitoolbar.py covering the multiline hint text and the single-line case; it fails on the old string and passes with the fix.
Checklist
This change was prepared with AI assistance; the regression test was run locally and fails without the fix.