-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add spacing before composer footer hints #3469
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
Add spacing before composer footer hints #3469
Conversation
looks good! |
@@ -3,4 +3,4 @@ source: tui/src/chatwidget/tests.rs | |||
expression: terminal.backend() | |||
--- | |||
"▌ Ask Codex to do anything " | |||
" ⏎ send ⌃J newline ⌃T transcript ⌃" | |||
" " |
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.
looks like we lost the hints here? i feel this is a bit worse for very short terminals, though it's a bit of an edge case.
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.
I think we should optimize for the size we recommend. @edward-bayes thinks it's a better UI like that.
let popup_constraint = match &self.active_popup { | ||
ActivePopup::Command(popup) => Constraint::Max(popup.calculate_required_height()), | ||
ActivePopup::File(popup) => Constraint::Max(popup.calculate_required_height()), | ||
ActivePopup::None => Constraint::Length(FOOTER_HEIGHT_WITH_HINT), |
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.
i feel like this should still be Constraint::Max?
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.
changed it
Uh oh!
There was an error while loading. Please reload this page.