Skip to main content
Module

x/tui/src/components/progress_bar.ts>ProgressBarComponentOptions

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
interface ProgressBarComponentOptions
import { type ProgressBarComponentOptions } from "https://deno.land/x/tui@1.3.4/src/components/progress_bar.ts";

Interface defining object that {ProgressBarComponent}'s constructor can interpret

Properties

value: number

Current value

min: number

Minimal value of {ProgressBarComponent}

max: number

Maximal value of {ProgressBarComponent}

direction: "horizontal" | "vertical"

Whether {ProgressBarComponent} is vertical or horizontal

optional
smooth: boolean

Whether {ProgressBarComponent} should use UNICODE characters to create effect of more gradual, smooth looking progress Keep in mind that not every terminal might support used characters