Marchio visibile: titolo dell'intestazione e di exec (A)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-17 12:33:57 +01:00
parent 47f2ffcb6b
commit e37a0deba9
3 changed files with 4 additions and 4 deletions

View File

@@ -219,7 +219,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
session_configured_event: &SessionConfiguredEvent,
) {
const VERSION: &str = env!("CARGO_PKG_VERSION");
eprintln!("OpenAI Codex v{VERSION}\n--------");
eprintln!("aKode v{VERSION}\n--------");
for (key, value) in config_summary_entries(config, session_configured_event) {
eprintln!("{} {}", format!("{key}:").style(self.bold), value);
}

View File

@@ -8520,7 +8520,7 @@ async fn ctrl_l_preserves_the_transcript_and_draft_after_clearing_the_screen() -
let compact = transcript_composer::buffer_text(
crate::custom_terminal::test_support::last_rendered_buffer(&tui.terminal),
);
assert!(compact.contains("OpenAI Codex"));
assert!(compact.contains("aKode"));
assert!(compact.contains("New exchange"));
assert!(!compact.contains("Earlier exchange"));
let ctrl_t = KeyEvent::new(KeyCode::Char('t'), KeyModifiers::CONTROL);

View File

@@ -44,7 +44,7 @@ pub(crate) fn with_border_with_inner_width(
pub(crate) fn codex_title(version: &str) -> Vec<Span<'static>> {
vec![
">_ ".fg(accent_color()),
"OpenAI Codex".bold(),
"aKode".bold(),
format!(" (v{version})").dim(),
]
}
@@ -406,7 +406,7 @@ impl HistoryCell for SessionHeaderHistoryCell {
fn raw_lines(&self) -> Vec<Line<'static>> {
let mut lines = vec![
Line::from(format!("OpenAI Codex (v{})", self.version)),
Line::from(format!("aKode (v{})", self.version)),
Line::from(format!(
"model: {}{}",
self.model,