AnsiCompletionFrameBuilder

class AnsiCompletionFrameBuilder(ansiGridStringBuilder: AnsiGridStringBuilder, frameSize: Size, backgroundColor: AnsiColor = AnsiColor.RESET, borderColor: AnsiColor = AnsiColor.BRIGHT_BLACK, titleColor: AnsiColor = AnsiColor.GREEN, descriptionColor: AnsiColor = AnsiColor.WHITE) : CompletionFrameBuilder

Provides an ANSI completion frame builder that builds in to the specified ansiGridStringBuilder.

Constructors

Link copied to clipboard
constructor(ansiGridStringBuilder: AnsiGridStringBuilder, frameSize: Size, backgroundColor: AnsiColor = AnsiColor.RESET, borderColor: AnsiColor = AnsiColor.BRIGHT_BLACK, titleColor: AnsiColor = AnsiColor.GREEN, descriptionColor: AnsiColor = AnsiColor.WHITE)

Functions

Link copied to clipboard
open override fun build(title: String, reason: String): Frame

Build a frame with a title and reason.