centered menus again - OCD

This commit is contained in:
ganome 2025-01-31 16:51:02 -07:00
parent 563de6fe5d
commit bbb08cbbf8
Signed by untrusted user who does not match committer: Ganome
GPG Key ID: 944DE53336D81B83

View File

@ -35,20 +35,22 @@ int main() {
while(tolower(quit) != 'q') {
std::cout << "\t\t----------=================================--------------\n";
std::cout << "\t\t\tWelcome to the Universal Hardware database!\n";
std::cout << "\t(S)earch for a part by model name\n";
std::cout << "\t(Q)uit hardware database\n->";
std::cout << "\t\t\t\t(S)earch for a part by model name\n";
std::cout << "\t\t\t\t(Q)uit hardware database\n->";
std::cin >> quit;
switch(tolower(quit)) {
case 's':
std::cout << "-------------------------------\n";
std::cout << "\t\t\tWhat would you like to search by?\n";
std::cout << "\t(M)odel name\n";
std::cout << "\tManufacture(R)\n";
std::cout << "\t(Y)ear Released\n";
std::cout << "\tMain (C)lock\n";
std::cout << "\t(Q)uit\n->";
std::cout << "\t\t\t\t(M)odel name\n";
std::cout << "\t\t\t\tManufacture(R)\n";
std::cout << "\t\t\t\t(Y)ear Released\n";
std::cout << "\t\t\t\tMain (C)lock\n";
std::cout << "\t\t\t\t(Q)uit\n->";
std::cin >> searchby;
switch(tolower(searchby)) {
case 'm':
std::cout << "-------------------------------\n";
std::cout << "\t\tEnter part of the model string.\n";
std::cout << "\t\tExample: for Intel i75820k you would enter 5820\n->";
std::cin >> msearch;