Dark version of default theme always trigger the pager
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Tái hiện vấn đề trong litecli bằng syntax_style = default -dark, cơ sở dữ liệu chinook và select * from genres limit 1; so sánh với hành vi được mô tả trong #94. Theo dõi các quyết định về pager và auto_vertical_output, sau đó xác minh rằng đầu ra ngắn không sử dụng pager và vẫn ở dạng ngang.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Add
syntax_style = default -darkto your config file - Open chinook db in litecli and enter the
select * from genres limit 1command
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.
- Ngôn ngữ chính
- Python
- Star
- 3.3k
- Fork
- 95
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dbcli/litecli
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Tất cả issue của dbcli/litecli
Issue tương tự
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Đang mởarea: ci bug perceived difficulty: 3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/clickhouse-connect#1057 ·