Reece Wilson
6dfa806e3a
[*] Refactor NoncanonicalInput [*] Fix various keys resort in NUL getting added to ConsoleTTYs input field [*] Fix multichar right key input (finish TODO note) [*] Hex grammar: literals may end with 'h' now that i think about it. also added wiresharks seperator. let's continue to simply make sure we cover all forms of hex in a reasonably liberal fashion to account for user input from various human written and software form. (Nonuniform style of non-hex illegal chars are fine so long as it looks and reads like a legal array of hex characters. Comas must come directly after literals, possible [0x] prefixes are fine, whitespaces too, copy/pasted '[', ']', '{', '}', 'reasonable' new line rejection, etc)
21 lines
444 B
C++
21 lines
444 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: NoncanonicalInput.hpp
|
|
Date: 2022-5-18
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::Console::ConsoleStd
|
|
{
|
|
struct NoncanonicalInput
|
|
{
|
|
ENoncanonicalInput type;
|
|
AuString string;
|
|
int iScrollDeltaY {};
|
|
bool bIsControlSequence {};
|
|
bool bIsAltSequence {};
|
|
bool bIsShiftSequence {};
|
|
};
|
|
} |