Skip to content

Commit

Permalink
update sources and fix conhost build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-zamora committed Mar 10, 2020
1 parent 55a6cee commit 996e9ef
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.
13 changes: 0 additions & 13 deletions src/host/consoleInformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ CONSOLE_INFORMATION::CONSOLE_INFORMATION() :
// OutputCPInfo initialized below
_cookedReadData(nullptr),
ConsoleIme{},
terminalMouseInput(HandleTerminalKeyEventCallback),
_vtIo(),
_blinker{},
renderData{}
Expand Down Expand Up @@ -180,18 +179,6 @@ void CONSOLE_INFORMATION::SetCookedReadData(COOKED_READ_DATA* readData) noexcept
_cookedReadData = readData;
}

// Routine Description:
// - Handler for inserting key sequences into the buffer when the terminal emulation layer
// has determined a key can be converted appropriately into a sequence of inputs
// Arguments:
// - events - the input events to write to the input buffer
// Return Value:
// - <none>
void CONSOLE_INFORMATION::HandleTerminalKeyEventCallback(_Inout_ std::deque<std::unique_ptr<IInputEvent>>& events)
{
ServiceLocator::LocateGlobals().getConsoleInformation().pInputBuffer->Write(events);
}

// Method Description:
// - Return the active screen buffer of the console.
// Arguments:
Expand Down
3 changes: 0 additions & 3 deletions src/host/server.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Revision History:
#include "settings.hpp"

#include "conimeinfo.h"
#include "..\terminal\input\terminalInput.hpp"
#include "VtIo.hpp"
#include "CursorBlinker.hpp"

Expand Down Expand Up @@ -115,8 +114,6 @@ class CONSOLE_INFORMATION :

Microsoft::Console::VirtualTerminal::VtIo* GetVtIo();

static void HandleTerminalKeyEventCallback(_Inout_ std::deque<std::unique_ptr<IInputEvent>>& events);

SCREEN_INFORMATION& GetActiveOutputBuffer() override;
const SCREEN_INFORMATION& GetActiveOutputBuffer() const override;
bool HasActiveOutputBuffer() const;
Expand Down
1 change: 0 additions & 1 deletion src/terminal/adapter/sources.inc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ SOURCES= \
..\DispatchCommon.cpp \
..\InteractDispatch.cpp \
..\adaptDispatchGraphics.cpp \
..\MouseInput.cpp \
..\terminalOutput.cpp \
..\telemetry.cpp \
..\tracing.cpp \
Expand Down
2 changes: 2 additions & 0 deletions src/terminal/input/sources.inc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ PRECOMPILED_INCLUDE = ..\precomp.h

SOURCES= \
..\terminalInput.cpp \
..\mouseInput.cpp \
..\mouseInputState.cpp \

INCLUDES = \
$(INCLUDES); \
Expand Down

0 comments on commit 996e9ef

Please sign in to comment.