tuiweather 0.3.1 → 0.3.2
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 +3 -0
- package/dist/index.js +20418 -20227
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -52,6 +52,7 @@ Use `tuiweather --help` for command-line options and `tuiweather --version` to p
|
|
|
52
52
|
| --- | --- |
|
|
53
53
|
| `r` | Refresh current location (bypasses cache) |
|
|
54
54
|
| `[` / `]` | Previous / next location |
|
|
55
|
+
| `l` | Open the locations overlay: switch, set default, delete, reorder |
|
|
55
56
|
| `1`–`9` | Jump to location N by sidebar order (1-based; no-op out of range) |
|
|
56
57
|
| `u` | Toggle metric / imperial units |
|
|
57
58
|
| `/` | Search locations |
|
|
@@ -67,6 +68,8 @@ Use `tuiweather --help` for command-line options and `tuiweather --version` to p
|
|
|
67
68
|
|
|
68
69
|
While the search overlay is open it owns the keyboard: type to search, up/down to move the cursor, enter to add the highlighted result, esc to cancel. Number, focus, and reorder keys are ignored while the search input is focused (same as `d`/`r`).
|
|
69
70
|
|
|
71
|
+
The locations overlay (`l`) also owns the keyboard while open: up/down (or `j`/`k`) to move the cursor, enter or `1`–`9` to switch, `s` to set the cursor row as default, `d` twice to delete it, `J`/`K` to reorder it, `/` to jump into search, esc to close.
|
|
72
|
+
|
|
70
73
|
### One-line mode
|
|
71
74
|
|
|
72
75
|
`tuiweather --one-line` prints a single line and exits — designed for tmux status bars and shell prompts:
|