Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
🐛 Fix fsDisp freeze on window reload
Browse files Browse the repository at this point in the history
  • Loading branch information
GitSquared committed Feb 7, 2019
1 parent eeecd5d commit 0017009
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,11 @@ async function initUI() {

document.getElementById("filesystem").setAttribute("style", "opacity: 1;");

// Resend terminal CWD to fsDisp if we're hot reloading
if (window.performance.navigation.type === 1) {
window.term[window.currentTerm].resendCWD();
}

await _delay(200);

window.updateCheck = new UpdateChecker();
Expand Down

0 comments on commit 0017009

Please sign in to comment.