Skip to content
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

Dark version of default theme always trigger the pager #95

Open
FreddieOliveira opened this issue Aug 19, 2020 · 0 comments
Open

Dark version of default theme always trigger the pager #95

FreddieOliveira opened this issue Aug 19, 2020 · 0 comments

Comments

@FreddieOliveira
Copy link

FreddieOliveira commented Aug 19, 2020

Description

When using the dark version of the default theme, every command output is displayed by the pager, even if it fits on the screen.

Steps to reproduce

  1. Add syntax_style = default -dark to your config file
  2. Open chinook db in litecli and enter the select * from genres limit 1 command

Expected result

The output should be displayed without being handled by the pager, since it fits on the screen

Actual behavior

The output is displayed on fullscreen by the pager program

Additional info

Despite being similar to #94, these issues aren't the same, since using the default theme without the -dark variant doesn't cause this problem.

This issue also causes the table to be vertically formated if auto_vertical_output is set to True even when not needed (it fits horizontally on the screen).

Probably fixing #94 will also fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant