Skip to content

Conversation

@gpeal
Copy link
Collaborator

@gpeal gpeal commented Oct 7, 2025

We don't need the bottom padding. It currently just makes the footer look off-centered.

Before:
image

After:
image

@gpeal gpeal requested a review from nornagon-openai October 7, 2025 00:30
expression: terminal.backend()
---
"• Thinking (0s • esc to interrupt) "
" "
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this sus?

@gpeal gpeal requested a review from nornagon-openai October 7, 2025 16:15
Comment on lines 733 to 747
r_last.trim().is_empty(),
"expected last row blank: {r_last:?}"
composer_found,
"expected composer placeholder to be rendered with the status widget active"
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this would be better as a snapshot test, it's quite hard to understand what this is testing

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codex replace this with a snapshot test

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Testing

  • ⚠️ just fmt (prints nightly-only warning noise from cargo fmt)
  • cargo test -p codex-tui

View task →

Comment on lines 780 to 783
assert!(
row0.contains("Working") || row1.contains("Working"),
"expected status header to be visible at height=2: row0={row0:?}, row1={row1:?}"
!row0.contains("Working") && !row1.contains("Working"),
"expected status header to collapse at height=2: row0={row0:?}, row1={row1:?}"
);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also be snapshot imo

Comment on lines -5 to +6
"• Thinking (0s • esc to interrupt) "
" "
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems off, though low-pri as generally we don't care too much about height-2 terminals.

@gpeal gpeal merged commit 12fd2b4 into main Oct 7, 2025
20 checks passed
@gpeal gpeal deleted the gpeal/remove-bottom-padding branch October 7, 2025 18:10
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants