Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit351d326

Browse files
committed
Revert "Patch fix for#1360 until WriteStream (#780) can be implemented. (#2924)"
This reverts commit776b9a5.
1 parent2f2636f commit351d326

File tree

3 files changed

+0
-105
lines changed

3 files changed

+0
-105
lines changed

‎src/cascadia/TerminalCore/Terminal.cpp‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -416,18 +416,6 @@ void Terminal::_WriteBuffer(const std::wstring_view& stringView)
416416
}
417417
}
418418

419-
// If we're about to try to place the cursor past the right edge of the buffer, move it down a row
420-
// This is another patch that GH#780 should supersede. This is really correcting for other bad situations
421-
// like bisecting (writing only the leading half because there's no room for the trailing) a wide character
422-
// into the buffer. However, it's not really all-up correctable without implementing a full WriteStream here.
423-
// Also, this particular code RIGHT HERE shouldn't need to know anything about the cursor or the cells advanced
424-
// which also will be solved by GH#780 (hopefully).
425-
if (proposedCursorPosition.X > bufferSize.RightInclusive())
426-
{
427-
proposedCursorPosition.X =0;
428-
proposedCursorPosition.Y++;
429-
}
430-
431419
// If we're about to scroll past the bottom of the buffer, instead cycle the buffer.
432420
constauto newRows = proposedCursorPosition.Y - bufferSize.Height() +1;
433421
if (newRows >0)

‎src/cascadia/UnitTests_TerminalCore/TerminalApiTests.cpp‎

Lines changed: 0 additions & 92 deletions
This file was deleted.

‎src/cascadia/UnitTests_TerminalCore/UnitTests.vcxproj‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<ClCompileInclude="precomp.cpp">
1010
<PrecompiledHeader>Create</PrecompiledHeader>
1111
</ClCompile>
12-
<ClCompileInclude="TerminalApiTests.cpp" />
1312
</ItemGroup>
1413
<ItemGroup>
1514
<ProjectReferenceInclude="..\..\buffer\out\lib\bufferout.vcxproj">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp