revspec 0.3.0 → 0.5.0
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 +13 -0
- package/docs/superpowers/plans/2026-03-15-ui-refactor.md +1025 -0
- package/package.json +1 -1
- package/src/state/review-state.ts +5 -0
- package/src/tui/app.ts +189 -234
- package/src/tui/comment-input.ts +146 -144
- package/src/tui/confirm.ts +29 -43
- package/src/tui/help.ts +77 -76
- package/src/tui/pager.ts +54 -267
- package/src/tui/search.ts +6 -6
- package/src/tui/status-bar.ts +27 -24
- package/src/tui/thread-list.ts +29 -55
- package/src/tui/ui/dialog.ts +106 -0
- package/src/tui/ui/hint-bar.ts +20 -0
- package/src/tui/ui/keybinds.ts +106 -0
- package/src/tui/ui/markdown.ts +292 -0
- package/src/tui/ui/theme.ts +49 -0
- package/test/tui/ui/keybinds.test.ts +71 -0
- package/src/tui/theme.ts +0 -34
package/README.md
CHANGED
|
@@ -29,6 +29,19 @@ revspec spec.md
|
|
|
29
29
|
|
|
30
30
|
Opens a TUI in line mode with vim-style navigation. Press `c` on any line to open a thread and start commenting.
|
|
31
31
|
|
|
32
|
+
### Markdown rendering
|
|
33
|
+
|
|
34
|
+
Revspec renders markdown in-place (toggle with `m`):
|
|
35
|
+
|
|
36
|
+
- **Headings** — colored and bold, `#`–`######`
|
|
37
|
+
- **Inline** — bold (`**`/`__`), italic (`*`/`_`), bold-italic (`***`), strikethrough (`~~`), `code`, [links](url)
|
|
38
|
+
- **Fenced code blocks** — fence markers dimmed, body in green
|
|
39
|
+
- **Tables** — box-drawing borders, header row bolded, auto-column-widths
|
|
40
|
+
- **Lists** — unordered (`•`), ordered, task lists (`☐`/`☑`)
|
|
41
|
+
- **Blockquotes** — bar gutter, italicized text
|
|
42
|
+
- **Cursor line** highlighting across all elements
|
|
43
|
+
- **Search highlights** — colored match segments
|
|
44
|
+
|
|
32
45
|
### Keybindings
|
|
33
46
|
|
|
34
47
|
| Key | Action |
|