fix(tui): abort launch on auth failure, add auth error variant
This commit is contained in:
1 parent
14fd9d1ebc
commit
60385e7916
3 files changed
+12
-13
No files matched your search
@@ -510,17 +510,6 @@ fn render_viewer(
|
||||
|
||||
frame.render_widget(Paragraph::new(styled_lines), area);
|
||||
|
||||
if let Some(sl) = state.viewer_search.title_line() {
|
||||
let sw = sl.width() as u16;
|
||||
let search_area = Rect {
|
||||
x: area.x + area.width.saturating_sub(sw + 1),
|
||||
y: area.y,
|
||||
width: sw + 1,
|
||||
height: 1,
|
||||
};
|
||||
frame.render_widget(Paragraph::new(sl), search_area);
|
||||
}
|
||||
|
||||
let scrollbar_area = Rect {
|
||||
x: area.x + area.width.saturating_sub(0),
|
||||
y: area.y + 1,
|
||||
|
||||
Reference in new issue
Block a user