449 { |
449 { |
450 attron (promptColor); |
450 attron (promptColor); |
451 mvhline (LINES - 2, 0, ' ', COLS); |
451 mvhline (LINES - 2, 0, ' ', COLS); |
452 mvprintw (LINES - 2, 0, "Are you sure you want to disconnect? y/n"); |
452 mvprintw (LINES - 2, 0, "Are you sure you want to disconnect? y/n"); |
453 attroff (promptColor); |
453 attroff (promptColor); |
|
454 g_needRefresh = true; |
454 return; |
455 return; |
455 } |
456 } |
456 |
457 |
457 String prompt = interface_prompt_string(); |
458 String prompt = interface_prompt_string(); |
458 int displayLength = COLS - prompt.length() - 2; |
459 int displayLength = COLS - prompt.length() - 2; |