#include <stdio.h>
#include <iostream>
#include <curses.h>
#include <ncurses.h>
using namespace std;
int main(){
int code;
code = getch();
std::cout << code;
}
-1
------------------
(program exited with code: 0)
Press return to continue
int i = std::cin.get();