-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
chore(tui): dim pane text helpers and remove dead code. #9542
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Skipped Deployments
|
@@ -34,12 +34,8 @@ impl<'a, W> TerminalPane<'a, W> { | |||
} | |||
} | |||
|
|||
fn highlight(&self) -> bool { |
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.
Dead code! There's no border to highlight anymore.
@@ -77,13 +73,12 @@ impl<'a, W> Widget for &TerminalPane<'a, W> { | |||
{ | |||
let screen = self.terminal_output.parser.screen(); | |||
let block = Block::default() | |||
.title(self.terminal_output.title(self.task_name)) | |||
.title_bottom(self.footer()) | |||
.style(if self.highlight() { |
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.
We don't do these yellow highlights. The only place in the program we do yellow highlights now is in the task table (not here), so we can remove this.
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.
nice one!
Description
I started noticing that my logs and the text help were looking quite similar. This differentiates the two so its more obvious at a glance.
Testing Instructions