snow-ai 0.4.20 → 0.4.21

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/bundle/cli.mjs +4 -2
  2. package/package.json +1 -1
package/bundle/cli.mjs CHANGED
@@ -405620,14 +405620,16 @@ var init_textBuffer = __esm({
405620
405620
  return;
405621
405621
  }
405622
405622
  this.cursorIndex -= 1;
405623
- this.recomputeVisualCursorOnly();
405623
+ this.recalculateVisualState();
405624
+ this.scheduleUpdate();
405624
405625
  }
405625
405626
  moveRight() {
405626
405627
  if (this.cursorIndex >= cpLen(this.content)) {
405627
405628
  return;
405628
405629
  }
405629
405630
  this.cursorIndex += 1;
405630
- this.recomputeVisualCursorOnly();
405631
+ this.recalculateVisualState();
405632
+ this.scheduleUpdate();
405631
405633
  }
405632
405634
  moveUp() {
405633
405635
  if (this.visualLines.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snow-ai",
3
- "version": "0.4.20",
3
+ "version": "0.4.21",
4
4
  "description": "Intelligent Command Line Assistant powered by AI",
5
5
  "license": "MIT",
6
6
  "bin": {