Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@schrej
Copy link
Contributor

@schrej schrej commented Apr 4, 2022

Using this for a while I frequently ran into issues when the terminal was pretty slim, e.g. at the bottom of an IDE. So I've created a compact mode that saves 8 lines of precious terminal space.

I've added a new config option that allows to switch the style between full(the 'old' style), compact (the new one added in this PR) and auto, which toggles the compact style at a height of 14 lines (at 14 lines there are still 5 entries visible with full style). auto is used by default.

compact style
image

full style with my VS Code terminal for color reference.
image

@schrej schrej force-pushed the feature/compact-mode branch from 5285ac1 to 019fc6c Compare April 4, 2022 20:18
@schrej schrej force-pushed the feature/compact-mode branch from 019fc6c to 55f1a34 Compare April 4, 2022 21:29
@ellie
Copy link
Member

ellie commented Apr 5, 2022

This is great, thanks for the work here! 🚀

@ellie ellie merged commit e8f7aac into atuinsh:main Apr 5, 2022
@schrej schrej deleted the feature/compact-mode branch April 5, 2022 07:00
ellie added a commit that referenced this pull request Apr 12, 2022
f861893 Update to clap 3.1.x (#289)
e8f7aac Add compact mode (#288)
1e04c4c Add rust-version to Cargo.toml (#287)
222e52b Update Dockerfile
fae118a Improve fuzzy search (#279)
7cde55a Add code of conduct (#281)
d270798 Update config-rs (#280)
3248883 Update README.md
7f58741 Fix `history list --cwd` errors (#278)
e117b62 Update fish bindings. (#265)
4223ac6 Restore bash 4.2 compatibility, only add hook once (#271)
7651f89 Add support for blesh  (#267)
c2dd332 fix: get install.sh working on UbuntuWSL (#260)
84403a3 Bump reqwest from 0.11.7 to 0.11.9 (#261)
5005cf7 Bump serde_json from 1.0.73 to 1.0.75 (#262)
7fa3e1c Do not crash if the history timestamp is in the future (#250)
8d21506 use sqlite grouping rather than subquery (#181)
d36ff13 Replace dpkg with apt (#248)
@ellie ellie mentioned this pull request Apr 12, 2022
ellie added a commit that referenced this pull request Apr 12, 2022
f861893 Update to clap 3.1.x (#289)
e8f7aac Add compact mode (#288)
1e04c4c Add rust-version to Cargo.toml (#287)
222e52b Update Dockerfile
fae118a Improve fuzzy search (#279)
7cde55a Add code of conduct (#281)
d270798 Update config-rs (#280)
3248883 Update README.md
7f58741 Fix `history list --cwd` errors (#278)
e117b62 Update fish bindings. (#265)
4223ac6 Restore bash 4.2 compatibility, only add hook once (#271)
7651f89 Add support for blesh  (#267)
c2dd332 fix: get install.sh working on UbuntuWSL (#260)
84403a3 Bump reqwest from 0.11.7 to 0.11.9 (#261)
5005cf7 Bump serde_json from 1.0.73 to 1.0.75 (#262)
7fa3e1c Do not crash if the history timestamp is in the future (#250)
8d21506 use sqlite grouping rather than subquery (#181)
d36ff13 Replace dpkg with apt (#248)
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

Successfully merging this pull request may close these issues.

2 participants