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.
- package/bundle/cli.mjs +4 -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.
|
|
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.
|
|
405631
|
+
this.recalculateVisualState();
|
|
405632
|
+
this.scheduleUpdate();
|
|
405631
405633
|
}
|
|
405632
405634
|
moveUp() {
|
|
405633
405635
|
if (this.visualLines.length === 0) {
|