feat: prompt returns answer to caller + commit on own header line
This commit is contained in:
parent
c5ef006414
commit
996f74b24f
5 changed files with 15 additions and 9 deletions
|
|
@ -27,12 +27,8 @@ fn banner() {
|
|||
println!();
|
||||
// Use same column layout as info_line: 2sp + emoji_cell(2w) + 2sp + name(14) + 2sp + value
|
||||
// ☀ is 1-wide → emoji_cell pads to 2 → need 1 extra space to match
|
||||
println!(
|
||||
" {} {:<14} {}",
|
||||
"☀ ".yellow().bold(), // 1-wide + explicit space = 2 display cols
|
||||
"HELIOS REMOTE".bold(),
|
||||
env!("GIT_COMMIT").dimmed()
|
||||
);
|
||||
println!(" {} {}", "☀ ".yellow().bold(), "HELIOS REMOTE".bold());
|
||||
display::info_line("🔗", "commit:", &env!("GIT_COMMIT").dimmed().to_string());
|
||||
}
|
||||
|
||||
fn print_session_info(label: &str, sid: &uuid::Uuid) {
|
||||
|
|
@ -369,7 +365,7 @@ async fn handle_message(
|
|||
input.trim().to_string()
|
||||
}).await.unwrap_or_default();
|
||||
display::prompt_done(&message, &answer);
|
||||
ClientMessage::Ack { request_id }
|
||||
ClientMessage::PromptResponse { request_id, answer }
|
||||
}
|
||||
|
||||
ServerMessage::ExecRequest { request_id, command, timeout_ms } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue