dsh-neotui 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/views.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-neotui",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Neo-TUI: mouse-driven terminal UI client for DeepSeek Harness (B-tier per dsh-tui-design.md)",
5
5
  "type": "module",
6
6
  "bin": {
package/src/views.js CHANGED
@@ -2607,7 +2607,7 @@ export class App {
2607
2607
  }
2608
2608
 
2609
2609
  #renderTabBar(s) {
2610
- const x = this.sidebarVisible ? 30 : 0;
2610
+ const x = this.sidebarVisible ? this.sidebarWidth : 0;
2611
2611
  const w = this.screen.w - x;
2612
2612
  s.fillRect(x, 0, x + w - 1, 0, " ", { bg: T.PANEL });
2613
2613
  const tabs = [...this.#modeTabs()];
@@ -2624,7 +2624,7 @@ export class App {
2624
2624
  }
2625
2625
 
2626
2626
  #clickTab(px) {
2627
- const x = this.sidebarVisible ? 30 : 0;
2627
+ const x = this.sidebarVisible ? this.sidebarWidth : 0;
2628
2628
  const tabs = [...this.#modeTabs()];
2629
2629
  const panelLabel = this.#panelLabel(this.mode);
2630
2630
  if (panelLabel) tabs.push([this.mode, panelLabel]);