Skip to content

Commit f207101

Browse files
authored
feat: made reset filesystem reload [skip ci]
1 parent 10c0dbe commit f207101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootloader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,5 @@ try {
124124
writeln()
125125
console.error(e.stack)
126126
writeln()
127-
terminal.html(terminal.getHTML() + '<a href="#" onclick="indexedDB.deleteDatabase(\'virtualfs\')">Would you like to reset the VirtualFS?</a>')
127+
terminal.html(terminal.getHTML() + '<a href="#" onclick="indexedDB.deleteDatabase(\'virtualfs\');window.location.reload()">Would you like to reset the VirtualFS?</a>')
128128
}

0 commit comments

Comments
 (0)