X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/3dd5d54eb2e182b7edea5eb507aef7743bbc8474..d20c097dbead0e618d5e1460bd47104689558b22:/nviewer/w_btree.cpp diff --git a/nviewer/w_btree.cpp b/nviewer/w_btree.cpp index 892db6c..a5a819b 100644 --- a/nviewer/w_btree.cpp +++ b/nviewer/w_btree.cpp @@ -51,6 +51,8 @@ void wBTree::ShowNode (uint node_num) wattron (win, COLOR_PAIR (2)); else wattron (win, COLOR_PAIR (3)); + mvwaddnstr (win, y, x, " ", 1); + x++; mvwaddnstr (win, y, x, (const char *)(s.c_str ()), s.length ()); if (n%2) wattroff (win, COLOR_PAIR (2)); @@ -61,7 +63,7 @@ void wBTree::ShowNode (uint node_num) it++; } last_length = x; - mvwaddstr (win, 20, 5, "Ir al nodo (-1 para salir) : "); + wnode->ShowHeader (node_num, node_header); } void wBTree::Show ()