sources/interface.cpp

changeset 45
87b180260a5d
parent 44
693d7751fff0
child 46
19be47c9bab7
equal deleted inserted replaced
44:693d7751fff0 45:87b180260a5d
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;

mercurial