Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ink/models/FontStyle.ts>FontStyle

Terminal string color for Deno
Latest
class FontStyle
extends StyleBase
import { FontStyle } from "https://deno.land/x/ink@1.3/models/FontStyle.ts";

Constructors

new
FontStyle(rules: string)

Properties

private
fontModes: Array<string>
private
fonts: Array<FontStyleType>

Methods

private
modeToAnsi(mode: string): { start: string; end: string; }
ansiEnd(): string
ansiStart(): string