MCPcopy Create free account

hub / github.com/RLabs-Inc/sveltui / functions

Functions174 in github.com/RLabs-Inc/sveltui

Methodconstructor
(width: number, height: number)
src/input/mouse.ts:287
Methodconstructor
(verbose = false)
scripts/build.mjs:47
Methodconstructor
(options = {})
scripts/build.mjs:96
FunctioncreateBorderChars
(chars: BorderCharSet)
src/utils/borders.ts:214
Functiondarken
(color: ColorInput, amount = 0.1)
src/utils/bun-color.ts:280
Methoddisable
* Disable SGR mouse protocol
src/input/mouse.ts:156
FunctiondisableRawMode
()
src/utils/bun-output.ts:112
Methoddispatch
* Dispatch a mouse event * Returns true if event was handled
src/input/mouse.ts:316
MethoddrawCircle
* Draw a circle outline
src/canvas/PixelBuffer.ts:236
MethoddrawLine
* Draw a horizontal line
src/canvas/PixelBuffer.ts:178
MethoddrawRect
* Draw a rectangle outline
src/canvas/PixelBuffer.ts:209
Methodenable
* Enable SGR mouse protocol * This sends the appropriate escape sequences to the terminal
src/input/mouse.ts:140
FunctionenableRawMode
()
src/utils/bun-output.ts:103
FunctionenterAlternateScreen
()
src/utils/bun-output.ts:82
FunctionexitAlternateScreen
()
src/utils/bun-output.ts:89
MethodfillCircle
* Fill a circle
src/canvas/PixelBuffer.ts:264
MethodfillRect
* Fill a rectangle
src/canvas/PixelBuffer.ts:225
MethodfillRect
* Fill a rectangle with a component index
src/input/mouse.ts:75
Methodflush
* Flush the buffer to stdout
src/utils/bun-output.ts:151
FunctionfocusNext
()
src/input/keyboard.svelte.ts:237
FunctionfocusPrevious
()
src/input/keyboard.svelte.ts:244
MethodgetAllCells
* Get all terminal cells as a 2D array * Returns a NEW array each time (important for reactivity)
src/canvas/PixelBuffer.ts:380
FunctiongetBorderChars
(style: BorderStyle | BorderCharacters)
src/utils/borders.ts:204
FunctiongetContentClipRect
( index: number, parentClip?: ClipRect )
src/core/render/renderer.svelte.ts:251
FunctiongetDebugPanel
()
src/debug/debug-panel.svelte.ts:187
MethodgetIndex
()
src/components/base-component.svelte.ts:288
FunctiongetTheme
()
src/theme/theme.svelte.ts:175
FunctionhandleError
(error: Error)
src/mount.svelte.ts:52
FunctionhandleExit
()
src/mount.svelte.ts:151
FunctionhandleResize
()
src/mount.svelte.ts:112
Methodhandler
(data: Buffer)
src/input/mouse.ts:246
FunctionhideCursor
()
src/utils/bun-output.ts:54
MethodinstallHandler
* Install input handler on a readable stream
src/input/mouse.ts:242
FunctionisValidColor
(color: ColorInput)
src/utils/bun-color.ts:287
FunctionlastEvent
()
src/input/keyboard.svelte.ts:261
FunctionlastKey
()
src/input/keyboard.svelte.ts:264
Functionlighten
(color: ColorInput, amount = 0.1)
src/utils/bun-color.ts:273
FunctionmoveCursor
(x: number, y: number)
src/utils/bun-output.ts:47
FunctionmoveDown
(n: number = 1)
src/utils/ansi-codes.ts:19
FunctionmoveLeft
(n: number = 1)
src/utils/ansi-codes.ts:27
FunctionmoveRight
(n: number = 1)
src/utils/ansi-codes.ts:23
FunctionmoveTo
(x: number, y: number)
src/utils/ansi-codes.ts:11
FunctionmoveUp
(n: number = 1)
src/utils/ansi-codes.ts:15
FunctiononFocused
(index: number, handler: KeyHandler)
src/input/keyboard.svelte.ts:225
FunctiononKey
(key: string | string[], handler: () => void)
src/input/keyboard.svelte.ts:208
MethodprocessBatch
(batch, processor)
scripts/build.mjs:246
FunctionrenderBorder
( buffer: FrameBuffer, x: number, y: number, width: number, height: number, style: number, color
src/core/render/renderer.svelte.ts:134
Functionreset
()
src/utils/bun-output.ts:96
Methodresize
* Resize the hit grid
src/input/mouse.ts:423
FunctionrestoreCursor
()
src/utils/bun-output.ts:75
FunctionrightAlignText
(text: string, width: number)
src/utils/bun-text.ts:210
FunctionsaveCursor
()
src/utils/bun-output.ts:68
FunctionscrollDown
(n: number = 1)
src/utils/ansi-codes.ts:136
FunctionscrollUp
(n: number = 1)
src/utils/ansi-codes.ts:132
MethodsetBackground
* Set background color used when clearing
src/canvas/PixelBuffer.ts:130
FunctionsetBg256
(color: number)
src/utils/ansi-codes.ts:63
FunctionsetBgColor
(hex: number)
src/utils/ansi-codes.ts:51
FunctionsetFg256
(color: number)
src/utils/ansi-codes.ts:59
FunctionsetFgColor
(hex: number)
src/utils/ansi-codes.ts:44
FunctionsetScrollRegion
(top: number, bottom: number)
src/utils/ansi-codes.ts:128
FunctionsetTextStyle
(style: number)
src/utils/ansi-codes.ts:108
FunctionsetTheme
(themeName: string | Theme)
src/theme/theme.svelte.ts:147
FunctionshowCursor
()
src/utils/bun-output.ts:61
FunctiontoANSIWithDepth
( color: ColorInput, depth: '16' | '256' | '16m' = '16m', background = false )
src/utils/bun-color.ts:131
FunctiontoHex
( color: ColorInput, uppercase = false )
src/utils/bun-color.ts:233
FunctiontoRGBA
( color: ColorInput )
src/utils/bun-color.ts:178
FunctiontoggleDebugPanel
()
src/debug/debug-panel.svelte.ts:24
FunctiontruncateText
( text: string, maxWidth: number, ellipsis = '...' )
src/utils/bun-text.ts:154
FunctionupdateDebugKey
(key: string, raw: string)
src/debug/debug-panel.svelte.ts:34
MethodupdateHitGrid
* Update hit grid (call after rendering)
src/input/mouse.ts:308
FunctionuseComponent
( componentType: number, props: ComponentProps, canHaveChildren = false )
src/components/base-component.svelte.ts:310
Methodwarning
(message)
scripts/build.mjs:66
FunctionwriteFrame
(ansiOutput: string)
src/utils/bun-output.ts:121
FunctionwriteStderr
(data: string | Uint8Array)
src/utils/bun-output.ts:28
← previous101–174 of 174, ranked by callers