c910045187
*cfc72cee
(origin/dev/duhowett/ibxint, github/master) Make sure cursor blinks after opening new tab (1030) *9ad25440
Fix #936: misuse of uninitialized objects causes AppVerifier breaks on Windows Terminal startup (1015) *5f938a04
Update Terminal.cpp (1034) *4c47631b
Cleanup - termDispatch.hpp & adaptDispatch.hpp overrides (1004) *cc304759
add audit mode to ci (948) *80f10796
Fix the bell sound when Alt+key is pressed. (1006) *42e87ed3
fix build break from using `await` instead of `co_await` (1009) *40b557a4
Update manifest to correct 1903 version, unref param fix (1008) *0f62ec81
Eat all tap keypresses no matter what. (985) *ce0eaab9
inbox: Merge accumulated build fixes from RS_ONECORE_DEP_ACIOSS (1002) *1c509683
add .editorconfig file (585) *efd69990
Add support for OSC 10 and 11 to set the default colors (891) Related work items: #21610659, #21838182
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
/*++
|
|
Copyright (c) Microsoft Corporation
|
|
Licensed under the MIT license.
|
|
|
|
Module Name:
|
|
- adaptDispatch.hpp
|
|
|
|
Abstract:
|
|
- This serves as the Windows Console API-specific implementation of the
|
|
callbacks from our generic Virtual Terminal Input parser.
|
|
|
|
Author(s):
|
|
- Mike Griese (migrie) 11 Oct 2017
|
|
--*/
|
|
#pragma once
|
|
|
|
#include "DispatchTypes.hpp"
|
|
#include "IInteractDispatch.hpp"
|
|
#include "conGetSet.hpp"
|
|
|
|
namespace Microsoft::Console::VirtualTerminal
|
|
{
|
|
class InteractDispatch : public IInteractDispatch
|
|
{
|
|
public:
|
|
|
|
InteractDispatch(ConGetSet* const pConApi);
|
|
|
|
~InteractDispatch() = default;
|
|
|
|
bool WriteInput(_In_ std::deque<std::unique_ptr<IInputEvent>>& inputEvents) override;
|
|
bool WriteCtrlC() override;
|
|
bool WriteString(_In_reads_(cch) const wchar_t* const pws, const size_t cch) override;
|
|
bool WindowManipulation(const DispatchTypes::WindowManipulationType uiFunction,
|
|
_In_reads_(cParams) const unsigned short* const rgusParams,
|
|
const size_t cParams) override; // DTTERM_WindowManipulation
|
|
bool MoveCursor(const unsigned int row,
|
|
const unsigned int col) override;
|
|
private:
|
|
|
|
std::unique_ptr<ConGetSet> _pConApi;
|
|
|
|
};
|
|
}
|