@bobfrankston/rmfmail 1.2.195 → 1.2.196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8140,7 +8140,7 @@ window.__btick && window.__btick("app.ts module body executing");
8140
8140
  if ((e.ctrlKey || e.metaKey) && (e.key === "r" || e.key === "R")) return true;
8141
8141
  if (e.ctrlKey || e.metaKey) {
8142
8142
  const k = e.key.toLowerCase();
8143
- if (["p", "s", "u", "j", "l", "g", "o"].includes(k)) return true;
8143
+ if (["s", "u", "j", "l", "g", "o"].includes(k)) return true;
8144
8144
  }
8145
8145
  if (e.altKey && (e.key === "ArrowLeft" || e.key === "ArrowRight")) return true;
8146
8146
  if (e.key === "Backspace") {
@@ -10797,11 +10797,12 @@ document.addEventListener("keydown", (e) => {
10797
10797
  openCompose("new");
10798
10798
  }
10799
10799
  if (e.ctrlKey && (e.key === "p" || e.key === "P") && !e.shiftKey && !e.altKey) {
10800
- const t = e.target;
10801
- const inText = t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable);
10802
- if (!inText) {
10803
- e.preventDefault();
10800
+ e.preventDefault();
10801
+ if (getCurrentMessage()) {
10804
10802
  printCurrentMessage();
10803
+ } else {
10804
+ const s = document.getElementById("status-sync");
10805
+ if (s) s.textContent = "Nothing to print \u2014 select a message first.";
10805
10806
  }
10806
10807
  }
10807
10808
  if (e.ctrlKey && (e.key === "t" || e.key === "T") && !e.shiftKey && !e.altKey) {