Niiice
This commit is contained in:
parent
b72c959a54
commit
5705b59d8b
@ -5,6 +5,7 @@
|
|||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
#include "interactive.hpp"
|
||||||
|
|
||||||
namespace interactive {
|
namespace interactive {
|
||||||
|
|
||||||
@ -27,6 +28,7 @@ fullscreen_window::fullscreen_window(std::string title) {
|
|||||||
noecho();
|
noecho();
|
||||||
keypad(stdscr, TRUE); // Enable keypad
|
keypad(stdscr, TRUE); // Enable keypad
|
||||||
curs_set(0); // Hide cursor
|
curs_set(0); // Hide cursor
|
||||||
|
set_escdelay(25); // Set ESC delay to 25ms
|
||||||
refresh();
|
refresh();
|
||||||
|
|
||||||
// Create display window (takes up all but bottom 4 lines)
|
// Create display window (takes up all but bottom 4 lines)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user