-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
feat: add an inline view mode #648
Conversation
a904b54
to
ed2b950
Compare
Partly duplicate of #331 for the crossterm changes. |
ed2b950
to
2743df5
Compare
That's the plan 🙂 |
Left a comment on https://github.com/ellie/atuin/pull/331/files#r1100358866 to determine the best way to backport fdehau/tui-rs#552. |
2743df5
to
1200524
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The diff is now so smol 😄 |
Awesome, thanks @conradludgate! I'll try and take another look at finishing this PR ASAP. Feel free to to hack on it if you like :) |
Looks like this is actually working great in its current state. I guess what's left to do is to make this new behaviour optional, isn't it? Also, being able to configure the number of lines would be great too. |
1200524
to
6d1c510
Compare
It does! I've been using it since last night. Started to make it configurable but my parents are visiting this weekend so haven't finished 🤣
I think it would also feel a bit better if the search box was at the top for inline mode, but that can wait - I'd like to make the whole UI more configurable |
Added an Maybe the naming could be improved. @conradludgate @ellie WDYT? |
@ellie oops, read that part of your reply too fast, I didn't realize you actually started implementing the setting, sorry about that. Feel free to scratch my version if you prefer yours. |
Working on putting the input chunk at the top when inline mode is active... Edit: I believe it also means reversing the history list direction, which means more work needed. Will open another PR. |
8a10197
to
4ea097b
Compare
We can merge as is, I like it. We can fix the UI later. I've been daily driving for a few days and it still feels pretty nice |
Good for me! :) Submitted #808 as a draft, will have to come back to it at a later time. |
No worries! Thank you for your efforts. They are really appreciated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you so much for this, it's a huge improvement <3
The cursor position could not be read within a normal duration
errors due to blocking reads