@@ -3644,6 +3644,67 @@ void AdaptDispatch::DoITerm2Action(const std::wstring_view string)
36443644 }
36453645}
36463646
3647+ // Method Description:
3648+ // - Performs a iTerm2 action
3649+ // - Ascribes to the ITermDispatch interface
3650+ // - Currently, the actions we support are:
3651+ // * `OSC1337;SetMark`: mark a line as a prompt line
3652+ // - Not actually used in conhost
3653+ // Arguments:
3654+ // - string: contains the parameters that define which action we do
3655+ // Return Value:
3656+ // - false in conhost, true for the SetMark action, otherwise false.
3657+ void AdaptDispatch::DoWarpAction ()
3658+ {
3659+ // const auto isConPty = _api.IsConsolePty();
3660+ // if (isConPty)
3661+ // {
3662+ // // Flush the frame manually, to make sure marks end up on the right
3663+ // // line, like the alt buffer sequence.
3664+ // _renderer.TriggerFlush(false);
3665+ // //CursorPosition(1, 1);
3666+ // }
3667+ }
3668+
3669+ // Method Description:
3670+ // - Performs a iTerm2 action
3671+ // - Ascribes to the ITermDispatch interface
3672+ // - Currently, the actions we support are:
3673+ // * `OSC1337;SetMark`: mark a line as a prompt line
3674+ // - Not actually used in conhost
3675+ // Arguments:
3676+ // - string: contains the parameters that define which action we do
3677+ // Return Value:
3678+ // - false in conhost, true for the SetMark action, otherwise false.
3679+ void AdaptDispatch::DoWarpInBandGeneratorAction ()
3680+ {
3681+ // const auto isConPty = _api.IsConsolePty();
3682+ // if (isConPty)
3683+ // {
3684+ // // Flush the frame manually, to make sure marks end up on the right
3685+ // // line, like the alt buffer sequence.
3686+ // _renderer.TriggerFlush(false);
3687+ // }
3688+ }
3689+
3690+ void AdaptDispatch::DoWarpResetGridAction ()
3691+ {
3692+ // const auto isConPty = _api.IsConsolePty();
3693+ // if (isConPty)
3694+ // {
3695+ // // Flush the frame manually, to make sure marks end up on the right
3696+ // // line, like the alt buffer sequence.
3697+ // _renderer.TriggerFlush(false);
3698+
3699+ // Clear grid without painting.
3700+ // ATODO: Anything else we need to reset here?
3701+ CursorPosition (1 , 1 );
3702+ _pages.ActivePage ().Buffer ().Reset ();
3703+ // _renderer.TriggerFlush(false);
3704+ // //_pages.ActivePage().Buffer().Reset();
3705+ // }
3706+ }
3707+
36473708// Method Description:
36483709// - Performs a FinalTerm action
36493710// - Currently, the actions we support are:
0 commit comments