@pi-unipi/footer 2.2.0 → 2.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-unipi/footer",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Persistent status bar for Unipi — subscribes to UNIPI_EVENTS and renders key stats from all unipi packages",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -10,7 +10,7 @@
10
10
  */
11
11
 
12
12
  import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
13
- import { SettingsList, type SettingItem, type SettingsListTheme } from "@earendil-works/pi-tui";
13
+ import { matchesKey, SettingsList, type SettingItem, type SettingsListTheme } from "@earendil-works/pi-tui";
14
14
  import { loadFooterSettings, saveFooterSettings } from "../config.js";
15
15
  import { PRESET_NAMES } from "../presets.js";
16
16
  import { setIconStyle } from "../rendering/icons.js";
@@ -151,7 +151,7 @@ class FooterSettingsOverlay {
151
151
  }
152
152
 
153
153
  // Escape — back from drill-down, or close at root
154
- if (data === "\x1b") {
154
+ if (matchesKey(data, "escape")) {
155
155
  if (this.section === "segments" && this.selectedGroupId) {
156
156
  this.backToGroups();
157
157
  } else {