@opentui/core 0.2.16 → 0.3.1

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.
@@ -26,14 +26,20 @@ export declare class NativeSpanFeed {
26
26
  private pendingAsyncHandlers;
27
27
  private inCallback;
28
28
  private closeQueued;
29
+ private idleResolvers;
29
30
  private constructor();
30
31
  private ensureDrainBuffer;
31
32
  onData(handler: DataHandler): () => void;
32
33
  onError(handler: (code: number) => void): () => void;
34
+ private hasPinnedChunks;
35
+ isBackpressured(): boolean;
33
36
  close(): void;
34
37
  private processPendingClose;
35
38
  private performClose;
36
39
  private finalizeDestroy;
40
+ private isIdle;
41
+ private resolveIdleIfNeeded;
42
+ idle(): Promise<void>;
37
43
  private handleEvent;
38
44
  private decrementRefcount;
39
45
  private drainOnce;
package/ansi.d.ts CHANGED
@@ -2,6 +2,10 @@ export declare const ANSI: {
2
2
  switchToAlternateScreen: string;
3
3
  switchToMainScreen: string;
4
4
  reset: string;
5
+ resetScrollRegion: string;
6
+ home: string;
7
+ clearScreen: string;
8
+ clearSavedLines: string;
5
9
  scrollDown: (lines: number) => string;
6
10
  scrollUp: (lines: number) => string;
7
11
  moveCursor: (row: number, col: number) => string;
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  exports_src
4
- } from "./index-hzcw4q21.js";
4
+ } from "./index-zv319bjp.js";
5
5
  import {
6
6
  __require
7
- } from "./index-qfwqv8y3.js";
7
+ } from "./index-jx0p1c2f.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-qe67qr6s.js.map
421
+ //# sourceMappingURL=index-2wycxnwx.js.map
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  createRuntimePlugin
4
- } from "./index-qe67qr6s.js";
4
+ } from "./index-2wycxnwx.js";
5
5
 
6
6
  // src/runtime-plugin-support-configure.ts
7
7
  var {plugin: registerBunPlugin } = globalThis.Bun;
@@ -41,4 +41,4 @@ function ensureRuntimePluginSupport(options = {}) {
41
41
  export { ensureRuntimePluginSupport };
42
42
 
43
43
  //# debugId=09C0597CB92E654F64756E2164756E21
44
- //# sourceMappingURL=index-t1vzaxv4.js.map
44
+ //# sourceMappingURL=index-gnh42qx3.js.map