We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25bce2a commit fdd95aeCopy full SHA for fdd95ae
1 file changed
crates/tui/src/app.rs
@@ -1065,17 +1065,7 @@ fn render_input_with_prompt(
1065
height: area.height,
1066
};
1067
1068
- if input.is_empty() {
1069
- // Placeholder — only rendered when truly empty, mutually exclusive with input
1070
- let placeholder = Line::from(Span::styled(
1071
- "Type a message...",
1072
- Style::default().fg(Color::DarkGray),
1073
- ));
1074
- Widget::render(placeholder, input_area, buf);
1075
- } else {
1076
- // Actual input content — no placeholder underneath
1077
- Widget::render(input, input_area, buf);
1078
- }
+ Widget::render(input, input_area, buf);
1079
}
1080
1081
/// Render structured messages list — each `ChatMessage` gets its own visual treatment.
0 commit comments