monowind 0.2.3 → 0.2.5

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.
package/README.md CHANGED
@@ -38,6 +38,17 @@ import { defineMonoWind } from "monowind";
38
38
  defineMonoWind();
39
39
  ```
40
40
 
41
+ ## Selection
42
+
43
+ `select="grid"` (the default) selects the rendered grid: drag across
44
+ the art and copy exactly what you see. Double- and triple-click select
45
+ the element under the pointer — the word or the paragraph, as on any
46
+ page — and drag extends word by word or paragraph by paragraph.
47
+ `select="text"` selects the light DOM natively instead. In both modes
48
+ a copy of light-DOM text is plain text laid out by the standard
49
+ `innerText` rules (paragraphs separated by a blank line, table cells
50
+ by tabs).
51
+
41
52
  ## Scrolling
42
53
 
43
54
  `overflow-y-auto` (or `-scroll`, either axis) makes the element a
@@ -48,8 +59,9 @@ on the grid in whole-cell steps and draws the scrollbar as characters
48
59
  `scrollbar-color` honored and defaulting to `currentColor` like borders,
49
60
  `scrollbar-width: none` honored, thickness via
50
61
  `scrollbar-<n>` cells, per bar with `scrollbar-x-<n>` /
51
- `scrollbar-y-<n>`). Scroll containers pinned to the bottom stay pinned as content
52
- grows chat logs need no code.
62
+ `scrollbar-y-<n>`; `scrollbar-inset-<n>` keeps cells clear around
63
+ the bars for your own arrow buttons). Scroll containers pinned to the
64
+ bottom stay pinned as content grows — chat logs need no code.
53
65
 
54
66
  ## Border & rule glyphs
55
67