@opentui/core 0.1.77 → 0.1.79
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/3d.js +1 -1
- package/Renderable.d.ts +8 -0
- package/{index-h3dbfsf6.js → index-zrvzvh6r.js} +112 -40
- package/{index-h3dbfsf6.js.map → index-zrvzvh6r.js.map} +9 -9
- package/index.js +37 -2
- package/index.js.map +3 -3
- package/package.json +7 -7
- package/renderables/Input.d.ts +7 -0
- package/renderer.d.ts +4 -1
- package/testing/test-recorder.d.ts +2 -0
- package/testing.js +6 -4
- package/testing.js.map +3 -3
- package/types.d.ts +2 -0
- package/zig.d.ts +1 -0
package/index.js
CHANGED
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
white,
|
|
153
153
|
wrapWithDelegates,
|
|
154
154
|
yellow
|
|
155
|
-
} from "./index-
|
|
155
|
+
} from "./index-zrvzvh6r.js";
|
|
156
156
|
// src/text-buffer-view.ts
|
|
157
157
|
class TextBufferView {
|
|
158
158
|
lib;
|
|
@@ -6797,6 +6797,41 @@ class InputRenderable extends TextareaRenderable {
|
|
|
6797
6797
|
this.emit("input" /* INPUT */, this.plainText);
|
|
6798
6798
|
return result;
|
|
6799
6799
|
}
|
|
6800
|
+
deleteLine() {
|
|
6801
|
+
const result = super.deleteLine();
|
|
6802
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6803
|
+
return result;
|
|
6804
|
+
}
|
|
6805
|
+
deleteWordBackward() {
|
|
6806
|
+
const result = super.deleteWordBackward();
|
|
6807
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6808
|
+
return result;
|
|
6809
|
+
}
|
|
6810
|
+
deleteWordForward() {
|
|
6811
|
+
const result = super.deleteWordForward();
|
|
6812
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6813
|
+
return result;
|
|
6814
|
+
}
|
|
6815
|
+
deleteToLineStart() {
|
|
6816
|
+
const result = super.deleteToLineStart();
|
|
6817
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6818
|
+
return result;
|
|
6819
|
+
}
|
|
6820
|
+
deleteToLineEnd() {
|
|
6821
|
+
const result = super.deleteToLineEnd();
|
|
6822
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6823
|
+
return result;
|
|
6824
|
+
}
|
|
6825
|
+
undo() {
|
|
6826
|
+
const result = super.undo();
|
|
6827
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6828
|
+
return result;
|
|
6829
|
+
}
|
|
6830
|
+
redo() {
|
|
6831
|
+
const result = super.redo();
|
|
6832
|
+
this.emit("input" /* INPUT */, this.plainText);
|
|
6833
|
+
return result;
|
|
6834
|
+
}
|
|
6800
6835
|
deleteCharacter(direction) {
|
|
6801
6836
|
if (direction === "backward") {
|
|
6802
6837
|
this.deleteCharBackward();
|
|
@@ -10862,5 +10897,5 @@ export {
|
|
|
10862
10897
|
ASCIIFont
|
|
10863
10898
|
};
|
|
10864
10899
|
|
|
10865
|
-
//# debugId=
|
|
10900
|
+
//# debugId=20BF116F533C5D6664756E2164756E21
|
|
10866
10901
|
//# sourceMappingURL=index.js.map
|