@fairyhunter13/opentui-core 0.1.119 → 0.1.121
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 +3 -0
- package/{index-p0v1qbn9.js → index-7xsz0ndw.js} +115 -30
- package/{index-p0v1qbn9.js.map → index-7xsz0ndw.js.map} +9 -9
- package/{index-zc16yyy7.js → index-qks9n0gz.js} +3 -3
- package/{index-tbp3y8vv.js → index-tza7yced.js} +7 -31
- package/{index-tbp3y8vv.js.map → index-tza7yced.js.map} +5 -5
- package/index.js +2 -2
- package/lib/keymapping.d.ts +10 -2
- package/package.json +7 -7
- package/renderer.d.ts +1 -0
- package/runtime-plugin-support.js +3 -3
- package/runtime-plugin.js +3 -3
- package/testing.js +1 -1
- package/types.d.ts +1 -0
- /package/{index-zc16yyy7.js.map → index-qks9n0gz.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
exports_src
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-tza7yced.js";
|
|
5
5
|
import {
|
|
6
6
|
__require
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-7xsz0ndw.js";
|
|
8
8
|
|
|
9
9
|
// src/runtime-plugin.ts
|
|
10
10
|
import { existsSync, readFileSync, realpathSync } from "fs";
|
|
@@ -408,4 +408,4 @@ function createRuntimePlugin(input = {}) {
|
|
|
408
408
|
export { isCoreRuntimeModuleSpecifier, runtimeModuleIdForSpecifier, createRuntimePlugin };
|
|
409
409
|
|
|
410
410
|
//# debugId=127A9B143CE0234164756E2164756E21
|
|
411
|
-
//# sourceMappingURL=index-
|
|
411
|
+
//# sourceMappingURL=index-qks9n0gz.js.map
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
getBorderSides,
|
|
104
104
|
getCharacterPositions,
|
|
105
105
|
getDataPaths,
|
|
106
|
-
|
|
106
|
+
getKeyBindingAction,
|
|
107
107
|
getLinkId,
|
|
108
108
|
getObjectsInViewport,
|
|
109
109
|
getTreeSitterClient,
|
|
@@ -167,7 +167,7 @@ import {
|
|
|
167
167
|
white,
|
|
168
168
|
wrapWithDelegates,
|
|
169
169
|
yellow
|
|
170
|
-
} from "./index-
|
|
170
|
+
} from "./index-7xsz0ndw.js";
|
|
171
171
|
|
|
172
172
|
// src/index.ts
|
|
173
173
|
var exports_src2 = {};
|
|
@@ -6573,15 +6573,7 @@ class TextareaRenderable extends EditBufferRenderable {
|
|
|
6573
6573
|
this.insertText(stripAnsiSequences(decodePasteBytes(event.bytes)));
|
|
6574
6574
|
}
|
|
6575
6575
|
handleKeyPress(key) {
|
|
6576
|
-
const
|
|
6577
|
-
name: key.name,
|
|
6578
|
-
ctrl: key.ctrl,
|
|
6579
|
-
shift: key.shift,
|
|
6580
|
-
meta: key.meta,
|
|
6581
|
-
super: key.super,
|
|
6582
|
-
action: "move-left"
|
|
6583
|
-
});
|
|
6584
|
-
const action = this._keyBindingsMap.get(bindingKey);
|
|
6576
|
+
const action = getKeyBindingAction(this._keyBindingsMap, key);
|
|
6585
6577
|
if (action) {
|
|
6586
6578
|
const handler = this._actionHandlers.get(action);
|
|
6587
6579
|
if (handler) {
|
|
@@ -11741,15 +11733,7 @@ class SelectRenderable extends Renderable {
|
|
|
11741
11733
|
this.requestRender();
|
|
11742
11734
|
}
|
|
11743
11735
|
handleKeyPress(key) {
|
|
11744
|
-
const
|
|
11745
|
-
name: key.name,
|
|
11746
|
-
ctrl: key.ctrl,
|
|
11747
|
-
shift: key.shift,
|
|
11748
|
-
meta: key.meta,
|
|
11749
|
-
super: key.super,
|
|
11750
|
-
action: "move-up"
|
|
11751
|
-
});
|
|
11752
|
-
const action = this._keyBindingsMap.get(bindingKey);
|
|
11736
|
+
const action = getKeyBindingAction(this._keyBindingsMap, key);
|
|
11753
11737
|
if (action) {
|
|
11754
11738
|
switch (action) {
|
|
11755
11739
|
case "move-up":
|
|
@@ -12109,15 +12093,7 @@ class TabSelectRenderable extends Renderable {
|
|
|
12109
12093
|
return this._tabWidth;
|
|
12110
12094
|
}
|
|
12111
12095
|
handleKeyPress(key) {
|
|
12112
|
-
const
|
|
12113
|
-
name: key.name,
|
|
12114
|
-
ctrl: key.ctrl,
|
|
12115
|
-
shift: key.shift,
|
|
12116
|
-
meta: key.meta,
|
|
12117
|
-
super: key.super,
|
|
12118
|
-
action: "move-left"
|
|
12119
|
-
});
|
|
12120
|
-
const action = this._keyBindingsMap.get(bindingKey);
|
|
12096
|
+
const action = getKeyBindingAction(this._keyBindingsMap, key);
|
|
12121
12097
|
if (action) {
|
|
12122
12098
|
switch (action) {
|
|
12123
12099
|
case "move-left":
|
|
@@ -12295,5 +12271,5 @@ class TimeToFirstDrawRenderable extends Renderable {
|
|
|
12295
12271
|
}
|
|
12296
12272
|
export { TextBufferView, convertThemeToStyles, SyntaxStyle, DistortionEffect, VignetteEffect, CloudsEffect, FlamesEffect, CRTRollingBarEffect, RainbowTextEffect, applyScanlines, applyInvert, applyNoise, applyChromaticAberration, applyAsciiArt, applyBrightness, applyGain, applySaturation, BloomEffect, SEPIA_MATRIX, PROTANOPIA_SIM_MATRIX, DEUTERANOPIA_SIM_MATRIX, TRITANOPIA_SIM_MATRIX, ACHROMATOPSIA_MATRIX, PROTANOPIA_COMP_MATRIX, DEUTERANOPIA_COMP_MATRIX, TRITANOPIA_COMP_MATRIX, TECHNICOLOR_MATRIX, SOLARIZATION_MATRIX, SYNTHWAVE_MATRIX, GREENSCALE_MATRIX, GRAYSCALE_MATRIX, INVERT_MATRIX, Timeline, engine, createTimeline, SlotRegistry, createSlotRegistry, createCoreSlotRegistry, registerCorePlugin, resolveCoreSlot, SlotRenderable, NativeSpanFeed, FrameBufferRenderable, ASCIIFontRenderable, BoxRenderable, TextBufferRenderable, CodeRenderable, isTextNodeRenderable, TextNodeRenderable, RootTextNodeRenderable, Generic, Box, Text, ASCIIFont, Input, Select, TabSelect, FrameBuffer, Code, ScrollBox, vstyles, VRenderable, LineNumberRenderable, TextRenderable, DiffRenderable, TextareaRenderable, InputRenderableEvents, InputRenderable, TextTableRenderable, MarkdownRenderable, SliderRenderable, ScrollBarRenderable, ArrowRenderable, ScrollBoxRenderable, SelectRenderableEvents, SelectRenderable, TabSelectRenderableEvents, TabSelectRenderable, TimeToFirstDrawRenderable, exports_src2 as exports_src };
|
|
12297
12273
|
|
|
12298
|
-
//# debugId=
|
|
12299
|
-
//# sourceMappingURL=index-
|
|
12274
|
+
//# debugId=16294237721C954264756E2164756E21
|
|
12275
|
+
//# sourceMappingURL=index-tza7yced.js.map
|