@bobfrankston/rmfmail 1.2.195 → 1.2.197

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.
@@ -6767,7 +6767,7 @@ decides which operators work.</p>
6767
6767
  <tr><th>Operator</th><th>Example</th><th>Meaning</th></tr>
6768
6768
  <tr><td>implicit AND</td><td><code>bob lunch</code></td><td>Both terms must appear</td></tr>
6769
6769
  <tr><td><code>OR</code></td><td><code>bob OR eleanor</code></td><td>Either term</td></tr>
6770
- <tr><td><code>NOT</code></td><td><code>bob NOT spam</code></td><td>First without the second</td></tr>
6770
+ <tr><td><code>NOT</code></td><td><code>bob NOT spam</code></td><td>Exclude a term. Works anywhere, including first: <code>NOT newsletter</code>, <code>NOT from:noreply</code>, <code>NOT is:read</code>. Uppercase \u2014 a lowercase "not" searches for the word.</td></tr>
6771
6771
  <tr><td><code>"phrase"</code></td><td><code>"happy birthday"</code></td><td>Exact phrase</td></tr>
6772
6772
  <tr><td><code>term*</code></td><td><code>lunch*</code></td><td>Prefix</td></tr>
6773
6773
  <tr><td><code>NEAR(a b, 5)</code></td><td><code>NEAR(bob lunch, 5)</code></td><td>Both within 5 tokens</td></tr>
@@ -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) {