-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persist inbox conhost; delegate control activities to it via a pipe #10415
Merged
Merged
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
853786a
Make the inbox console wait/stay open forever.
miniksa f673bd2
Make OS wait on open one indefinitely.
miniksa aab183b
finish interface re-id
miniksa fd1333d
Well... this madness builds.
miniksa 08ad342
use correct macros, add a few comments
miniksa f99ff51
Properly reset some of the handles we have handed off. Establish appr…
miniksa 14fd5f9
move host signal input thread to interactivity base since it's dispat…
miniksa a8bfc9c
spellcheck
miniksa a6ef19a
codeformat!
miniksa 579be98
restore otherwise unchanged file
miniksa d811b33
stale header reference
miniksa 4640690
Enums and classes and templates and namespaces and move semantics and…
miniksa c65380f
Code format
miniksa b5552b1
Merge branch 'main' into dev/miniksa/def_wsl
miniksa 712f9e5
improve naming, actually save the file with the third definition.
miniksa d46a67a
pack the structure to ensure there aren't 0s between the code and packet
miniksa ed5cb2c
Assorted feedback for modernizing thread and style
miniksa b54983d
code format
miniksa 48657f6
Merge branch 'main' into dev/miniksa/def_wsl
miniksa c276eda
For reasons I cannot discern, I must use gsl::byte here or the OS bui…
miniksa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1942,6 +1942,7 @@ REGSTR | |
reingest | ||
Relayout | ||
RELBINPATH | ||
remoting | ||
Remoting | ||
renamer | ||
renderengine | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
namespace Microsoft::Console | ||
{ | ||
// These values match the enumeration values of `ControlType` for the `ConsoleControl` class | ||
// but are defined here similarly to not pollute other projects. | ||
// They don't *have* to be the same values, but matching them seemed to make sense. | ||
enum class HostSignals : uint8_t | ||
{ | ||
NotifyApp = 1u, | ||
SetForeground = 5u, | ||
EndTask = 7u | ||
}; | ||
|
||
struct HostSignalNotifyAppData | ||
{ | ||
uint32_t sizeInBytes; | ||
uint32_t processId; | ||
}; | ||
|
||
struct HostSignalSetForegroundData | ||
{ | ||
uint32_t sizeInBytes; | ||
uint32_t processId; | ||
bool isForeground; | ||
}; | ||
|
||
struct HostSignalEndTaskData | ||
{ | ||
uint32_t sizeInBytes; | ||
uint32_t processId; | ||
uint32_t eventType; | ||
uint32_t ctrlFlags; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you'll probably merge conflict near here because of til::feature