Marchio visibile: titolo dell'intestazione e di exec (A)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -219,7 +219,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
|||||||
session_configured_event: &SessionConfiguredEvent,
|
session_configured_event: &SessionConfiguredEvent,
|
||||||
) {
|
) {
|
||||||
const VERSION: &str = env!("CARGO_PKG_VERSION");
|
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) {
|
for (key, value) in config_summary_entries(config, session_configured_event) {
|
||||||
eprintln!("{} {}", format!("{key}:").style(self.bold), value);
|
eprintln!("{} {}", format!("{key}:").style(self.bold), value);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8520,7 +8520,7 @@ async fn ctrl_l_preserves_the_transcript_and_draft_after_clearing_the_screen() -
|
|||||||
let compact = transcript_composer::buffer_text(
|
let compact = transcript_composer::buffer_text(
|
||||||
crate::custom_terminal::test_support::last_rendered_buffer(&tui.terminal),
|
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("New exchange"));
|
||||||
assert!(!compact.contains("Earlier exchange"));
|
assert!(!compact.contains("Earlier exchange"));
|
||||||
let ctrl_t = KeyEvent::new(KeyCode::Char('t'), KeyModifiers::CONTROL);
|
let ctrl_t = KeyEvent::new(KeyCode::Char('t'), KeyModifiers::CONTROL);
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ pub(crate) fn with_border_with_inner_width(
|
|||||||
pub(crate) fn codex_title(version: &str) -> Vec<Span<'static>> {
|
pub(crate) fn codex_title(version: &str) -> Vec<Span<'static>> {
|
||||||
vec![
|
vec![
|
||||||
">_ ".fg(accent_color()),
|
">_ ".fg(accent_color()),
|
||||||
"OpenAI Codex".bold(),
|
"aKode".bold(),
|
||||||
format!(" (v{version})").dim(),
|
format!(" (v{version})").dim(),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -406,7 +406,7 @@ impl HistoryCell for SessionHeaderHistoryCell {
|
|||||||
|
|
||||||
fn raw_lines(&self) -> Vec<Line<'static>> {
|
fn raw_lines(&self) -> Vec<Line<'static>> {
|
||||||
let mut lines = vec![
|
let mut lines = vec![
|
||||||
Line::from(format!("OpenAI Codex (v{})", self.version)),
|
Line::from(format!("aKode (v{})", self.version)),
|
||||||
Line::from(format!(
|
Line::from(format!(
|
||||||
"model: {}{}",
|
"model: {}{}",
|
||||||
self.model,
|
self.model,
|
||||||
|
|||||||
Reference in New Issue
Block a user