Repository: microsoft/terminal (language: cpp)

Issue:
select all marker visibility
### Windows Terminal version

1.15.1863.0

### Windows build number

10.0.22000.778

### Other Software

_No response_

### Steps to reproduce

- clear buffer
- display some info, not to fill the buffer
- `ctrl+shift+a`

### Expected Behavior

_No response_

### Actual Behavior

- when buffer not full (no scrollbar) `crtl+shift+a` shows a marker top left.
- with full buffer (scrollbar visible) there is no marker, ever scrolling to top of buffer.


Partial buffer screenshot, with marker visible:
![crtl+a_mark_shown](https://user-images.githubusercontent.com/3933920/178403678-072b629f-e8ec-4949-96d7-92e6ba51d641.png)




Discussion / hints:

Fix patch:
diff --git a/src/cascadia/TerminalCore/TerminalSelection.cpp b/src/cascadia/TerminalCore/TerminalSelection.cpp
index dd156b463c4..a237f68dfcd 100644
--- a/src/cascadia/TerminalCore/TerminalSelection.cpp
+++ b/src/cascadia/TerminalCore/TerminalSelection.cpp
@@ -625,6 +625,7 @@ void Terminal::SelectAll()
     _selection->end = { bufferSize.RightInclusive(), _GetMutableViewport().BottomInclusive() };
     _selection->pivot = _selection->end;
     _selectionMode = SelectionInteractionMode::Keyboard;
+    _ScrollToPoint(_selection->start);
 }
 
 void Terminal::_MoveByChar(SelectionDirection direction, til::point& pos)


Test patch: