[*] annoying console tty insertion quirk/bug

This commit is contained in:
Reece Wilson 2023-09-28 20:38:36 +01:00
parent 636a7ef625
commit 654bf8eff0

View File

@ -48,6 +48,11 @@ namespace Aurora::Console::ConsoleTTY
void TTYConsoleField::AddString(const AuString &input)
{
if (this->highlightStartInBytes)
{
this->Backspace();
}
if (this->noncanonicalCursorPosInBytes == this->inputField.size())
{
this->inputField += input;