dbcli / litecli

CLI for SQLite Databases with auto-completion and syntax highlighting
https://litecli.com
BSD 3-Clause "New" or "Revised" License
2.06k stars 67 forks source link

syntax style changes output behaviour #169

Closed exastone closed 4 months ago

exastone commented 9 months ago

Tested on WezTerm and Windows Terminal.

Changing syntax_style = default in the config to any of the following (there may be others, these are just the ones I tried):

I checked the non-dark variants of these and the following do not have the same issue as their dark counterpart.

Expected Behavior; (exhibited with syntax_style set to default, xcode, igor, others I didn't try?)

image

Actual Behavior: Output is directed to some temp buffer (reminds me of pager buffer?) instead of to the running litecli instance

image

Notice the below image is the contents of terminal after pressing 'q' to leave the temp buffer shown above.

image
amjith commented 4 months ago

I'm not able to reproduce this. I'm guessing this has something to do with your terminal's color scheme clashing with the litecli colorscheme.

I'd recommend changing the terminal scheme or try a different terminal and reopen the issue if it still persists.