@opentui/core 0.2.12 → 0.2.14

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.
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  exports_src
4
- } from "./index-abtpr3qx.js";
4
+ } from "./index-nhyfhtvf.js";
5
5
  import {
6
6
  __require
7
- } from "./index-ysvpktsp.js";
7
+ } from "./index-3fq5hq97.js";
8
8
 
9
9
  // src/runtime-plugin.ts
10
10
  import { existsSync, readFileSync, realpathSync } from "fs";
@@ -418,4 +418,4 @@ function createRuntimePlugin(input = {}) {
418
418
  export { isCoreRuntimeModuleSpecifier, runtimeModuleIdForSpecifier, createRuntimePlugin };
419
419
 
420
420
  //# debugId=4F4ECA92927B118964756E2164756E21
421
- //# sourceMappingURL=index-wp87xqrj.js.map
421
+ //# sourceMappingURL=index-5v692kqx.js.map
@@ -183,7 +183,7 @@ import {
183
183
  white,
184
184
  wrapWithDelegates,
185
185
  yellow
186
- } from "./index-ysvpktsp.js";
186
+ } from "./index-3fq5hq97.js";
187
187
 
188
188
  // src/index.ts
189
189
  var exports_src2 = {};
@@ -5504,8 +5504,10 @@ var defaultTextareaKeyBindings = [
5504
5504
  { name: "delete", action: "delete" },
5505
5505
  { name: "delete", shift: true, action: "delete" },
5506
5506
  { name: "return", action: "newline" },
5507
+ { name: "kpenter", action: "newline" },
5507
5508
  { name: "linefeed", action: "newline" },
5508
5509
  { name: "return", meta: true, action: "submit" },
5510
+ { name: "kpenter", meta: true, action: "submit" },
5509
5511
  { name: "-", ctrl: true, action: "undo" },
5510
5512
  { name: ".", ctrl: true, action: "redo" },
5511
5513
  { name: "z", super: true, action: "undo" },
@@ -5799,6 +5801,7 @@ class InputRenderable extends TextareaRenderable {
5799
5801
  wrapMode: "none",
5800
5802
  keyBindings: [
5801
5803
  { name: "return", action: "submit" },
5804
+ { name: "kpenter", action: "submit" },
5802
5805
  { name: "linefeed", action: "submit" },
5803
5806
  ...options.keyBindings || []
5804
5807
  ]
@@ -8893,7 +8896,7 @@ class MarkdownRenderable extends Renderable {
8893
8896
  fg: this._fg,
8894
8897
  bg: this._bg,
8895
8898
  conceal: this._concealCode,
8896
- drawUnstyledText: !(this._streaming && this._concealCode),
8899
+ drawUnstyledText: !this._streaming,
8897
8900
  streaming: this._streaming,
8898
8901
  treeSitterClient: this._treeSitterClient,
8899
8902
  width: "100%",
@@ -8930,14 +8933,14 @@ class MarkdownRenderable extends Renderable {
8930
8933
  applyCodeBlockRenderable(renderable, token, marginBottom) {
8931
8934
  if (!(renderable instanceof CodeRenderable))
8932
8935
  return;
8933
- renderable.content = token.text;
8934
8936
  renderable.filetype = infoStringToFiletype(token.lang ?? "");
8935
8937
  renderable.syntaxStyle = this._syntaxStyle;
8936
8938
  renderable.fg = this._fg;
8937
8939
  renderable.bg = this._bg;
8938
8940
  renderable.conceal = this._concealCode;
8939
- renderable.drawUnstyledText = !(this._streaming && this._concealCode);
8941
+ renderable.drawUnstyledText = !this._streaming;
8940
8942
  renderable.streaming = this._streaming;
8943
+ renderable.content = token.text;
8941
8944
  renderable.marginBottom = marginBottom;
8942
8945
  }
8943
8946
  shouldRenderSeparately(token) {
@@ -11732,5 +11735,5 @@ class TimeToFirstDrawRenderable extends Renderable {
11732
11735
  }
11733
11736
  export { 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, Audio, setupAudio, FrameBufferRenderable, ASCIIFontRenderable, Generic, Box, Text, ASCIIFont, Input, Select, TabSelect, FrameBuffer, Code, ScrollBox, vstyles, VRenderable, LineNumberRenderable, DiffRenderable, defaultTextareaKeyBindings, TextareaRenderable, InputRenderableEvents, InputRenderable, TextTableRenderable, MarkdownRenderable, SliderRenderable, ScrollBarRenderable, ArrowRenderable, ScrollBoxRenderable, SelectRenderableEvents, SelectRenderable, TabSelectRenderableEvents, TabSelectRenderable, TimeToFirstDrawRenderable, exports_src2 as exports_src };
11734
11737
 
11735
- //# debugId=3EFDBF20709770DB64756E2164756E21
11736
- //# sourceMappingURL=index-abtpr3qx.js.map
11738
+ //# debugId=34EAE37A921CAC2964756E2164756E21
11739
+ //# sourceMappingURL=index-nhyfhtvf.js.map