jvcs 1.5.2 → 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,14 +11,18 @@ 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
+ },
23
+ padding: {
24
+ left: 1,
25
+ right: 1
22
26
  }
23
27
  })
24
28
  screen.append(header)
@@ -27,18 +31,34 @@ function startUI(state) {
27
31
  // FILE LIST VIEW
28
32
  // ---------------------------------------
29
33
  const fileList = blessed.list({
30
- top: 1,
34
+ top: 3, // below the header
31
35
  left: 0,
32
36
  width: "100%",
33
- height: "100%-1",
37
+ height: "100%-3",
34
38
  keys: true,
35
39
  vi: true,
36
- border: "line",
37
- label: " Changed Files ",
40
+ border: { type: "line" },
41
+ label: " {bold}Changed Files{/bold} ",
38
42
  style: {
39
- selected: { bg: "blue" },
40
- item: { fg: "white" }
41
- }
43
+ selected: {
44
+ bg: "cyan",
45
+ fg: "black",
46
+ bold: true
47
+ },
48
+ item: {
49
+ fg: "white"
50
+ },
51
+ border: { fg: "yellow" }
52
+ },
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,
42
62
  })
43
63
  screen.append(fileList)
44
64
 
@@ -74,7 +94,8 @@ function startUI(state) {
74
94
  keys: true,
75
95
  vi: true,
76
96
  scrollbar: { ch: "│", track: { bg: "black" }, style: { bg: "yellow" } },
77
- padding: { left: 1, right: 1 }
97
+ padding: { left: 1, right: 1 },
98
+ tags: true
78
99
  })
79
100
 
80
101
  const rightBox = blessed.box({
@@ -89,7 +110,8 @@ function startUI(state) {
89
110
  keys: true,
90
111
  vi: true,
91
112
  scrollbar: { ch: "│", track: { bg: "black" }, style: { bg: "yellow" } },
92
- padding: { left: 1, right: 1 }
113
+ padding: { left: 1, right: 1 },
114
+ tags: true
93
115
  })
94
116
 
95
117
  const aiBox = blessed.box({
@@ -104,7 +126,8 @@ function startUI(state) {
104
126
  keys: true,
105
127
  vi: true,
106
128
  scrollbar: { ch: "│", track: { bg: "black" }, style: { bg: "yellow" } },
107
- padding: { left: 1, right: 1 }
129
+ padding: { left: 1, right: 1 },
130
+ tags: true
108
131
  })
109
132
 
110
133
  function colorDiffContent(content, type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jvcs",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "bin": {
5
5
  "jvcs": "index.js"
6
6
  },