mirror of https://github.com/adamdruppe/arsd.git
show more info on windows
This commit is contained in:
parent
bf20624b11
commit
a929982e46
|
@ -1949,6 +1949,7 @@ struct RealTimeConsoleInput {
|
|||
ke.pressed = ev.bKeyDown ? true : false;
|
||||
|
||||
// only send released events when specifically requested
|
||||
// terminal.writefln("got %s %s", ev.UnicodeChar, ev.bKeyDown);
|
||||
if(ev.UnicodeChar && ev.wVirtualKeyCode == VK_MENU && ev.bKeyDown == 0) {
|
||||
// this indicates Windows is actually sending us
|
||||
// an alt+xxx key sequence, may also be a unicode paste.
|
||||
|
@ -2791,7 +2792,7 @@ void main() {
|
|||
//
|
||||
|
||||
terminal.setTitle("Basic I/O");
|
||||
auto input = RealTimeConsoleInput(&terminal, ConsoleInputFlags.raw | ConsoleInputFlags.allInputEvents);
|
||||
auto input = RealTimeConsoleInput(&terminal, ConsoleInputFlags.raw | ConsoleInputFlags.allInputEventsWithRelease);
|
||||
terminal.color(Color.green | Bright, Color.black);
|
||||
|
||||
terminal.write("test some long string to see if it wraps or what because i dont really know what it is going to do so i just want to test i think it will wrap but gotta be sure lolololololololol");
|
||||
|
|
Loading…
Reference in New Issue