更好看的单个record显示。
This commit is contained in:
@@ -236,6 +236,7 @@ void ListDisplay::promptForRecordID() {
|
||||
targetID = safeInputNum<int>("Please input a positive integer.\n",
|
||||
[](const int &num) { return num > 0; });
|
||||
try {
|
||||
clearScreen();
|
||||
this->allRecordsPtrList
|
||||
.search([&](BaseRecord *const &rescordPtr) -> bool {
|
||||
return rescordPtr->getRecordID() == targetID;
|
||||
|
||||
Reference in New Issue
Block a user