@xynogen/pix-pretty 1.7.9 → 1.7.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xynogen/pix-pretty",
3
- "version": "1.7.9",
3
+ "version": "1.7.10",
4
4
  "description": "Enhanced tool output rendering with syntax highlighting, file icons, tree views, diff rendering, and FFF search",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -62,7 +62,7 @@ export function registerPrettyCommand(pi: PiPrettyApi): void {
62
62
  // Headless / no custom-UI host: cycle to the next mode + notify.
63
63
  if (typeof ui.custom !== "function") {
64
64
  const cur = ICON_MODES.indexOf(getIconMode());
65
- const next = ICON_MODES[(cur + 1) % ICON_MODES.length]!;
65
+ const next = ICON_MODES[(cur + 1) % ICON_MODES.length] as IconMode;
66
66
  applyMode(next);
67
67
  ui.notify(`pix-pretty icons: ${next}`, "info");
68
68
  return;
@@ -82,7 +82,7 @@ export function registerPrettyCommand(pi: PiPrettyApi): void {
82
82
 
83
83
  const choose = (i: number) => {
84
84
  selected = (i + ICON_MODES.length) % ICON_MODES.length;
85
- applyMode(ICON_MODES[selected]!);
85
+ applyMode(ICON_MODES[selected] as IconMode);
86
86
  };
87
87
 
88
88
  return {