Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions codex-rs/tui/src/nori/session_header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,9 @@ impl HistoryCell for NoriSessionHeaderCell {

let mut lines: Vec<Line<'static>> = Vec::new();

// ASCII banner - green and gray colored
// ASCII banner - all green
for banner_line in NORI_BANNER {
let mut spans: Vec<Span<'static>> = Vec::new();
// Color the letters green, and structural characters gray
for ch in banner_line.chars() {
let span = if ch.is_alphabetic() || ch == '_' {
Span::from(ch.to_string()).green().bold()
} else {
Span::from(ch.to_string()).dark_gray()
};
spans.push(span);
}
lines.push(Line::from(spans));
lines.push(Line::from(Span::from(*banner_line).green().bold()));
}

// Empty line after banner
Expand Down
Loading