libcmo21/Unvirt/Unvirt.cpp

18 lines
467 B
C++
Raw Normal View History

2023-02-08 22:57:31 +08:00
#include "AccessibleValue.hpp"
#include "ColorfulTerminal.hpp"
2023-02-11 15:29:51 +08:00
#include "VTStruct.hpp"
2023-02-08 22:57:31 +08:00
#include <cstdio>
int main(int argc, char* argv[]) {
Unvirt::ColorfulTerminal::EnsureTerminalColor();
Unvirt::ColorfulTerminal::EnsureTerminalEncoding();
2023-02-11 15:29:51 +08:00
LibCmo::Utils::VirtoolsContext vtctx;
LibCmo::CKFile vtfile(vtctx);
vtfile.Load("Language.old.nmo", LibCmo::CK_LOAD_FLAGS::CK_LOAD_DEFAULT);
2023-02-09 17:16:58 +08:00
printf(UNVIRT_TERMCOL_LIGHT_YELLOW(("Hello, %s")), u8"㴮!");
2023-02-08 22:57:31 +08:00
return 0;
}