hide cursor

This commit is contained in:
vrd
2023-01-02 20:48:26 +02:00
parent 2ec892755f
commit b49e422cda
5 changed files with 8 additions and 34 deletions
+5 -5
View File
@@ -399,7 +399,7 @@ void Tree::display()
selectUp();
break;
case 'i':
people[selected_].print();
people[selected_].displayInfo();
draw();
break;
default: break;
@@ -423,7 +423,7 @@ void Tree::draw() const
void Tree::print() const
{
for(auto& member: people)
member.print();
member.displayInfo();
}
void Tree::printRel(const unsigned id)const
@@ -479,13 +479,13 @@ void Tree::printRel(const unsigned id)const
void Tree::printMember(const unsigned id)const
{
people[id].print();
people[id].displayInfo();
}
void Tree::printOldestAncestors(const unsigned id)const
{
people[findOldestAncestor(id)].print();
people[findOldestAncestor(id, 1)].print();
people[findOldestAncestor(id)].displayInfo();
people[findOldestAncestor(id, 1)].displayInfo();
}