Skip to content

Commit

Permalink
Merge pull request #18 from najmiter/Updates
Browse files Browse the repository at this point in the history
Save shortcut for writing to the local storage
  • Loading branch information
najmiter authored Feb 4, 2024
2 parents 6cf21cd + f3abdd7 commit ff0fb8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,10 @@ document.addEventListener("keydown", (btn) => {
if (keys_pressed["Control"] && keys_pressed["r"]) {
highlight_n_other_shit();
}

if (keys_pressed["Control"] && keys_pressed["s"]) {
put_shit_into_local_storage();
}
});

document.addEventListener("keyup", (btn) => {
Expand Down

0 comments on commit ff0fb8a

Please sign in to comment.