diffwatch 1.1.0 → 1.1.1

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/dist/index.js CHANGED
@@ -416,7 +416,7 @@ Options:
416
416
  else if (f.status === 'modified')
417
417
  color = '{blue-fg}';
418
418
  else if (f.status === 'unstaged')
419
- color = '{white-fg}';
419
+ color = '{green-fg}';
420
420
  else if (f.status === 'unchanged')
421
421
  color = '{grey-fg}';
422
422
  let statusSymbol = '';
@@ -427,7 +427,7 @@ Options:
427
427
  else if (f.status === 'modified')
428
428
  statusSymbol = 'M ';
429
429
  else if (f.status === 'unstaged')
430
- statusSymbol = '? ';
430
+ statusSymbol = '+ ';
431
431
  else if (f.status === 'unchanged')
432
432
  statusSymbol = ' ';
433
433
  return `${color}${statusSymbol}${f.path}{/}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diffwatch",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "An app for watching git repository file changes.",
5
5
  "author": "Sarfraz Ahmed <sarfraznawaz2005@gmail.com>",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -432,14 +432,14 @@ const searchBox = blessed.box({
432
432
  if (f.status === 'added') color = '{green-fg}';
433
433
  else if (f.status === 'deleted') color = '{red-fg}';
434
434
  else if (f.status === 'modified') color = '{blue-fg}';
435
- else if (f.status === 'unstaged') color = '{white-fg}';
435
+ else if (f.status === 'unstaged') color = '{green-fg}';
436
436
  else if (f.status === 'unchanged') color = '{grey-fg}';
437
437
 
438
438
  let statusSymbol = '';
439
439
  if (f.status === 'added') statusSymbol = 'A ';
440
440
  else if (f.status === 'deleted') statusSymbol = 'D ';
441
441
  else if (f.status === 'modified') statusSymbol = 'M ';
442
- else if (f.status === 'unstaged') statusSymbol = '? ';
442
+ else if (f.status === 'unstaged') statusSymbol = '+ ';
443
443
  else if (f.status === 'unchanged') statusSymbol = ' ';
444
444
 
445
445
  return `${color}${statusSymbol}${f.path}{/}`;