hide cursor
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user