diff --git a/src/host/inputBuffer.cpp b/src/host/inputBuffer.cpp index 215b49ceb69..980bb308648 100644 --- a/src/host/inputBuffer.cpp +++ b/src/host/inputBuffer.cpp @@ -4,13 +4,13 @@ #include "precomp.h" #include "inputBuffer.hpp" -#include "stream.h" -#include "../types/inc/GlyphWidth.hpp" - #include +#include #include "misc.h" +#include "stream.h" #include "../interactivity/inc/ServiceLocator.hpp" +#include "../types/inc/GlyphWidth.hpp" #define INPUT_BUFFER_DEFAULT_INPUT_MODE (ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT | ENABLE_ECHO_INPUT | ENABLE_MOUSE_INPUT) @@ -93,10 +93,10 @@ void InputBuffer::Consume(bool isUnicode, std::wstring_view& source, std::span(s.size()), &buffer[0], sizeof(buffer), nullptr, nullptr); THROW_LAST_ERROR_IF(length <= 0); std::string_view slice{ &buffer[0], gsl::narrow_cast(length) }; @@ -104,10 +104,24 @@ void InputBuffer::Consume(bool isUnicode, std::wstring_view& source, std::span