fix: remove TUI boolean bug, P2P unwrap violation, and WebTransport placeholder
- Remove `|| true` from cursor positioning condition in v2_tui.rs - Replace .lock().unwrap() with .expect() in P2P routing tests - Remove assert!(true) placeholder in WebTransport test
This commit is contained in:
@@ -829,7 +829,7 @@ fn draw_input(frame: &mut Frame, app: &TuiApp, area: Rect) {
|
||||
frame.render_widget(input_text, area);
|
||||
|
||||
// Position cursor in the input area.
|
||||
if !app.input.is_empty() || true {
|
||||
if !app.input.is_empty() {
|
||||
let cursor_x = area.x + 1 + app.input_cursor as u16;
|
||||
let cursor_y = area.y + 1;
|
||||
if cursor_x < area.x + area.width - 1 {
|
||||
|
||||
Reference in New Issue
Block a user