[*] annoying console tty insertion quirk/bug
This commit is contained in:
parent
636a7ef625
commit
654bf8eff0
@ -48,6 +48,11 @@ namespace Aurora::Console::ConsoleTTY
|
|||||||
|
|
||||||
void TTYConsoleField::AddString(const AuString &input)
|
void TTYConsoleField::AddString(const AuString &input)
|
||||||
{
|
{
|
||||||
|
if (this->highlightStartInBytes)
|
||||||
|
{
|
||||||
|
this->Backspace();
|
||||||
|
}
|
||||||
|
|
||||||
if (this->noncanonicalCursorPosInBytes == this->inputField.size())
|
if (this->noncanonicalCursorPosInBytes == this->inputField.size())
|
||||||
{
|
{
|
||||||
this->inputField += input;
|
this->inputField += input;
|
||||||
|
Loading…
Reference in New Issue
Block a user