Remove dead code
This commit is contained in:
1 parent
7252c37092
commit
7963d61e4f
1 file changed
-26
@@ -115,32 +115,6 @@ impl TerminalState {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
if core.mirrored {
|
||||
let buffer_layout =
|
||||
Layout::horizontal([Constraint::Ratio(1, 2), Constraint::Ratio(1, 2)]).split(rect);
|
||||
|
||||
let text = single_buffer_lines(
|
||||
active_buffer,
|
||||
terminal_buf_height,
|
||||
cursor_style,
|
||||
line_number_style,
|
||||
);
|
||||
|
||||
frame.render_widget(Paragraph::new(text).white().on_black(), buffer_layout[0]);
|
||||
|
||||
let text = single_buffer_lines(
|
||||
active_buffer,
|
||||
terminal_buf_height,
|
||||
cursor_style,
|
||||
line_number_style,
|
||||
);
|
||||
frame.render_widget(Paragraph::new(text).white().on_black(), buffer_layout[1]);
|
||||
} else {
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
/// Generate lines of text for a buffe;
|
||||
fn single_buffer_lines<'a>(
|
||||
active_buffer: &TextBuffer,
|
||||
|
||||
Reference in new issue
Block a user