Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsnx committed Jul 12, 2023
1 parent 86f128d commit 2fdc975
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/terminal/adapter/DispatchTypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ namespace Microsoft::Console::VirtualTerminal
constexpr VTSubParameters() noexcept
{
}

constexpr VTSubParameters(const std::span<const VTParameter> subParams) noexcept :
_subParams{ subParams }
{
Expand Down Expand Up @@ -242,7 +242,7 @@ namespace Microsoft::Console::VirtualTerminal
// _subParams as is and create new span for others.
const auto newParamsSpan = _params.subspan(std::min(offset, _params.size()));
const auto newSubParamRangesSpan = _subParamRanges.subspan(std::min(offset, _subParamRanges.size()));
return { newParamsSpan, _subParams , newSubParamRangesSpan };
return { newParamsSpan, _subParams, newSubParamRangesSpan };
}

VTSubParameters subParamsFor(const size_t index) const noexcept
Expand Down
2 changes: 1 addition & 1 deletion src/terminal/parser/ut_parser/OutputEngineTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ class Microsoft::Console::VirtualTerminal::OutputEngineTest final

// Verify that first 6 sub parameters are stored for each parameter.
// subParameters = { 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5 }
for (size_t i = 0; i < 12 ; i++)
for (size_t i = 0; i < 12; i++)
{
VERIFY_IS_TRUE(mach._subParameters.at(i).has_value());
VERIFY_ARE_EQUAL(mach._subParameters.at(i).value(), gsl::narrow_cast<VTInt>(i % 6));
Expand Down

0 comments on commit 2fdc975

Please sign in to comment.