Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaTheLEGEND authored Feb 4, 2024
1 parent 3198442 commit 8a28e42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,14 @@ function spawnTerminal() {
// Append the div to the body of the document
document.body.appendChild(overlayDiv);
}


document.addEventListener('keydown', function(event) {
// Check if Shift key and backtick key are pressed
if (event.shiftKey && event.key === '`') {
spawnTerminal();
}
});

//**********************************************************************************************
// END The fzterm
Expand Down

0 comments on commit 8a28e42

Please sign in to comment.