uds ipc working
This commit is contained in:
@ -21,7 +21,7 @@ pub fn render(f: &mut Frame, app: &mut App) {
|
||||
|
||||
let content_chunks = Layout::default()
|
||||
.direction(Direction::Horizontal)
|
||||
.constraints([Constraint::Percentage(50), Constraint::Percentage(50)])
|
||||
.constraints([Constraint::Length(50), Constraint::Min(0)])
|
||||
.split(main_chunks[0]);
|
||||
|
||||
let items: Vec<ListItem> = app
|
||||
@ -72,6 +72,10 @@ pub fn render(f: &mut Frame, app: &mut App) {
|
||||
Span::styled("/", Style::default().fg(Color::Cyan)),
|
||||
Span::raw(&app.input_buffer),
|
||||
]),
|
||||
Mode::ConfirmDelete => Line::from(vec![Span::styled(
|
||||
"Delete ? (y/n)",
|
||||
Style::default().fg(Color::Red).add_modifier(Modifier::BOLD),
|
||||
)]),
|
||||
};
|
||||
|
||||
let bottom_bar = Paragraph::new(bottom_text).block(Block::default().borders(Borders::ALL));
|
||||
|
||||
Reference in New Issue
Block a user