]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs_gui/gui.c
* Saco los <> porque molestan al juntar bloques
[z.facultad/75.06/emufs.git] / emufs_gui / gui.c
index d7095f764743eda5d620ef10aca40c9ca90f7221..95c5fee9a9349be7a73e947ef7ceb8ae02457a36 100644 (file)
@@ -232,7 +232,15 @@ int main(int argc, char *argv[])
                        break;
                        case 2:
                                dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1);
-                               ver_registros(dialog, COLS-2, LINES-4);
+                               ver_registros(dialog, COLS-2, LINES-4, 0);
+                               werase(dialog);
+                               wrefresh(dialog);
+                               delwin(dialog);
+                               refresh();
+                       break;
+                       case 3:
+                               dialog = derwin(stdscr, LINES-4, COLS-2, 2, 1);
+                               ver_registros(dialog, COLS-2, LINES-4, 1);
                                werase(dialog);
                                wrefresh(dialog);
                                delwin(dialog);