terminal/src/cascadia/WindowsTerminal/VirtualDesktopUtils.h
Mike Griese f71c948554 Add support for summoning to the current virtual desktop
Tested with

  ```json
        { "keys": "ctrl+`", "command": { "action": "quakeMode" } },
        { "keys": "ctrl+1", "command": { "action": "globalSummon" } },
        { "keys": "ctrl+2", "command": { "action": "globalSummon", "desktop": "toCurrent" } },
        { "keys": "ctrl+3", "command": { "action": "globalSummon", "desktop": "onCurrent" } },
        { "keys": "ctrl+4", "command": { "action": "globalSummon", "desktop": "any" } },
  ```

  And holy god it works so well
2021-04-19 14:44:26 -05:00

12 lines
270 B
C++

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
//
// A helper function for determining the GUID of the current Virtual Desktop.
#pragma once
namespace VirtualDesktopUtils
{
bool GetCurrentVirtualDesktopId(GUID* desktopId);
}