Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tui/src/theme.ts>replaceEmptyStyle

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
function replaceEmptyStyle
import { replaceEmptyStyle } from "https://deno.land/x/tui@1.3.4/src/theme.ts";

Returns {replacement} if {style} is an {emptyStyle} otherwise returns {style} back

Parameters

style: Style
replacement: Style