Fix license compliance and fix things up
Some checks failed
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64) (push) Successful in 3m57s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7) (push) Successful in 3m56s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 7m23s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 1m2s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64) (push) Successful in 2m12s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64) (push) Successful in 2m15s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386) (push) Successful in 2m15s
Some checks failed
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64) (push) Successful in 3m57s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7) (push) Successful in 3m56s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 7m23s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 1m2s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64) (push) Successful in 2m12s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64) (push) Successful in 2m15s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386) (push) Successful in 2m15s
This commit is contained in:
@@ -1,31 +1,23 @@
|
||||
#include "TessesFramework/TessesFramework.hpp"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int main(int argc, char **argv) {
|
||||
using namespace Tesses::Framework;
|
||||
using namespace Tesses::Framework::TextStreams;
|
||||
TF_Init();
|
||||
TF_InitWithConsole();
|
||||
|
||||
std::vector<std::string> myList = {
|
||||
"Demi Lovato",
|
||||
"The Gremlins",
|
||||
"Al Gore",
|
||||
"Steve Ballmer",
|
||||
"CrossLang",
|
||||
"Tom Scott",
|
||||
"Louis Rossmann",
|
||||
"Mike Nolan",
|
||||
"Tim Cook"
|
||||
};
|
||||
|
||||
"Demi Lovato", "The Gremlins", "Al Gore",
|
||||
"Steve Ballmer", "CrossLang", "Tom Scott",
|
||||
"Louis Rossmann", "Mike Nolan", "Tim Cook"};
|
||||
|
||||
auto res = Console::List(myList);
|
||||
|
||||
if(res > myList.size())
|
||||
{
|
||||
if (res > myList.size()) {
|
||||
Console::WriteLine("You must select one");
|
||||
}
|
||||
else {
|
||||
TF_RunEventLoop();
|
||||
} else {
|
||||
StdOut() << "You selected " << myList[res] << "." << NewLine();
|
||||
TF_RunEventLoop();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user