-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Add globalSummon
action
#9854
Add globalSummon
action
#9854
Changes from 3 commits
3bef7bb
1f52d35
5a9cdc8
36539cf
27ace16
9a41647
5cabcfb
03bfc6e
590b9ff
0579b24
a3faed6
9c6eac4
0103331
b4fe1bf
d08e65c
e101efd
e1402d8
f978a9c
5939636
c088895
fa2df47
0f5c24f
921d915
00184e7
658db6b
977db46
bcbef34
813dbc6
0f0df5e
9fc2f0e
6537686
a75da0a
c02f25a
3e39ab9
52b2cb6
bc492f1
88ffc6f
be74b2e
2a7bc94
81c09d9
c34e4ce
5b8ace2
689c385
59deca1
f02969b
b2db317
d2a3438
a65f341
1c2f8e5
71f6b58
18d1a20
a41bee6
6e7ea61
18099d2
3e5d927
91b52d4
848682a
1dcb4cb
fee6473
342d3f2
5052d31
eff18d1
5c039ea
10779ca
25b31ff
7c2a514
ac8fef0
1fdb6b1
784ec73
b20222f
9d76c62
2a2f5cb
71577fc
f892752
4166afa
717db81
1b2e7a7
2eec961
15a8a9c
8370789
4eb1d3a
643b860
aec2561
5940f05
06cb41b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -586,6 +586,16 @@ namespace winrt::Microsoft::Terminal::Settings::Model::implementation | |
|
||
winrt::hstring GlobalSummonArgs::GenerateName() const | ||
{ | ||
return L""; | ||
std::wstringstream ss; | ||
ss << std::wstring_view(RS_(L"GlobalSummonCommandKey")); | ||
|
||
// "Summon the Terminal window" | ||
// "Summon the Terminal window, name:\"{_Name}\"" | ||
if (!_Name.empty()) | ||
{ | ||
ss << L", name: "; | ||
ss << std::wstring_view(_Name); | ||
} | ||
Comment on lines
+593
to
+598
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know we've gotten away with it before, but "name" isn't really localized. How about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm just gonna punt this discussion to the next PR I've got queued up, because it's gonna become a quagmire of
y i k e s |
||
return winrt::hstring{ ss.str() }; | ||
} | ||
} |
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.
Technically a View