Skip to content

Commit

Permalink
WIP: workaround coredump hotkey linux
Browse files Browse the repository at this point in the history
Fixes #4059
  • Loading branch information
pierremtb committed Dec 10, 2024
1 parent 668e2af commit 34272b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ function CoreDump() {
() => new CoreDumpManager(engineCommandManager, codeManager, token),
[]
)
useHotkeyWrapper(['mod + shift + .'], () => {
// TODO: revisit once progress is made on upstream issue
// https://github.com/JohannesKlauss/react-hotkeys-hook/issues/1064
// const hotkey = process.platform !== 'linux' ? 'mod + shift + .' : 'mod + shift + >'
useHotkeyWrapper(['mod + shift + .', 'mod + shift + >'], () => {
toast
.promise(
coreDump(coreDumpManager, true),
Expand Down

0 comments on commit 34272b8

Please sign in to comment.