mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
parent
1e01b12805
commit
4d9699f290
@ -68,6 +68,12 @@ int main(int argc, char** argv){
|
||||
|
||||
if(argc == 1){
|
||||
void* repl = pkpy_new_repl(vm);
|
||||
|
||||
#if _WIN32
|
||||
SetConsoleCP(CP_UTF8);
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
#endif
|
||||
|
||||
bool need_more_lines = false;
|
||||
while(true){
|
||||
std::cout << (need_more_lines ? "... " : ">>> ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user