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