jvcs 1.5.3 → 1.5.4

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.
@@ -11,16 +11,19 @@ function startUI(state) {
11
11
  // ---------------------------------------
12
12
  const header = blessed.box({
13
13
  top: 0,
14
- height: 1,
14
+ height: 3, // taller for better visibility
15
15
  width: "100%",
16
- content: ` JVCS DIFF VIEW (${state.mode}) | ↑↓ Navigate | Enter Open | Esc Back | Tab Switch | Q Quit `,
16
+ content: `
17
+ {bold}{white-fg}{blue-bg} JVCS DIFF VIEW {/blue-bg}{/white-fg}{/bold} Mode: {yellow-fg}${state.mode}{/yellow-fg} | ↑↓ Navigate | Enter Open | Esc Back | Tab Switch | Q Quit
18
+ `,
19
+ tags: true,
17
20
  style: {
18
- fg: "white",
19
- bg: "blue",
20
- bold: true,
21
- underline: true
21
+ bg: "blue"
22
22
  },
23
- tags: true
23
+ padding: {
24
+ left: 1,
25
+ right: 1
26
+ }
24
27
  })
25
28
  screen.append(header)
26
29
 
@@ -28,19 +31,34 @@ function startUI(state) {
28
31
  // FILE LIST VIEW
29
32
  // ---------------------------------------
30
33
  const fileList = blessed.list({
31
- top: 1,
34
+ top: 3, // below the header
32
35
  left: 0,
33
36
  width: "100%",
34
- height: "100%-1",
37
+ height: "100%-3",
35
38
  keys: true,
36
39
  vi: true,
37
- border: "line",
38
- label: " Changed Files ",
40
+ border: { type: "line" },
41
+ label: " {bold}Changed Files{/bold} ",
39
42
  style: {
40
- selected: { bg: "blue" },
41
- item: { fg: "white" }
43
+ selected: {
44
+ bg: "cyan",
45
+ fg: "black",
46
+ bold: true
47
+ },
48
+ item: {
49
+ fg: "white"
50
+ },
51
+ border: { fg: "yellow" }
42
52
  },
43
- tags: true
53
+ tags: true,
54
+ scrollbar: {
55
+ ch: "│",
56
+ track: { bg: "black" },
57
+ style: { bg: "yellow" }
58
+ },
59
+ padding: { left: 1, right: 1 },
60
+ keys: true,
61
+ vi: true,
44
62
  })
45
63
  screen.append(fileList)
46
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jvcs",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "bin": {
5
5
  "jvcs": "index.js"
6
6
  },