diff --git a/404.html b/404.html index 2bd5e3625..19b2b7ac4 100755 --- a/404.html +++ b/404.html @@ -304,7 +304,7 @@
  • - + diff --git a/api/images/anchor-copy-button.svg b/api/images/anchor-copy-button.svg new file mode 100755 index 000000000..19c1fa3f4 --- /dev/null +++ b/api/images/anchor-copy-button.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/api/images/arrow_down.svg b/api/images/arrow_down.svg new file mode 100755 index 000000000..639aaf12c --- /dev/null +++ b/api/images/arrow_down.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/burger.svg b/api/images/burger.svg new file mode 100755 index 000000000..fcca732b7 --- /dev/null +++ b/api/images/burger.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/api/images/copy-icon.svg b/api/images/copy-icon.svg new file mode 100755 index 000000000..2cb02ec6e --- /dev/null +++ b/api/images/copy-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/copy-successful-icon.svg b/api/images/copy-successful-icon.svg new file mode 100755 index 000000000..c4b95383d --- /dev/null +++ b/api/images/copy-successful-icon.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/footer-go-to-link.svg b/api/images/footer-go-to-link.svg new file mode 100755 index 000000000..a87add7a3 --- /dev/null +++ b/api/images/footer-go-to-link.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/images/go-to-top-icon.svg b/api/images/go-to-top-icon.svg new file mode 100755 index 000000000..abc3d1cef --- /dev/null +++ b/api/images/go-to-top-icon.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/api/images/homepage.svg b/api/images/homepage.svg new file mode 100755 index 000000000..e3c83b1ce --- /dev/null +++ b/api/images/homepage.svg @@ -0,0 +1,3 @@ + + + diff --git a/api/images/logo-icon.svg b/api/images/logo-icon.svg new file mode 100755 index 000000000..e42f9570c --- /dev/null +++ b/api/images/logo-icon.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/api/images/nav-icons/abstract-class-kotlin.svg b/api/images/nav-icons/abstract-class-kotlin.svg new file mode 100755 index 000000000..19d6148ca --- /dev/null +++ b/api/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/api/images/nav-icons/abstract-class.svg b/api/images/nav-icons/abstract-class.svg new file mode 100755 index 000000000..601820302 --- /dev/null +++ b/api/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/api/images/nav-icons/annotation-kotlin.svg b/api/images/nav-icons/annotation-kotlin.svg new file mode 100755 index 000000000..b90f508c4 --- /dev/null +++ b/api/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/annotation.svg b/api/images/nav-icons/annotation.svg new file mode 100755 index 000000000..b80c54b4b --- /dev/null +++ b/api/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/class-kotlin.svg b/api/images/nav-icons/class-kotlin.svg new file mode 100755 index 000000000..797a2423c --- /dev/null +++ b/api/images/nav-icons/class-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/class.svg b/api/images/nav-icons/class.svg new file mode 100755 index 000000000..3f1ad167e --- /dev/null +++ b/api/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/enum-kotlin.svg b/api/images/nav-icons/enum-kotlin.svg new file mode 100755 index 000000000..775a7cc90 --- /dev/null +++ b/api/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/enum.svg b/api/images/nav-icons/enum.svg new file mode 100755 index 000000000..fa7f24766 --- /dev/null +++ b/api/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/exception-class.svg b/api/images/nav-icons/exception-class.svg new file mode 100755 index 000000000..c0b2bdeba --- /dev/null +++ b/api/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/field-value.svg b/api/images/nav-icons/field-value.svg new file mode 100755 index 000000000..2771ee56c --- /dev/null +++ b/api/images/nav-icons/field-value.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/api/images/nav-icons/field-variable.svg b/api/images/nav-icons/field-variable.svg new file mode 100755 index 000000000..e2d2bbd01 --- /dev/null +++ b/api/images/nav-icons/field-variable.svg @@ -0,0 +1,10 @@ + + + + + + + + diff --git a/api/images/nav-icons/function.svg b/api/images/nav-icons/function.svg new file mode 100755 index 000000000..f0da64a0b --- /dev/null +++ b/api/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/interface-kotlin.svg b/api/images/nav-icons/interface-kotlin.svg new file mode 100755 index 000000000..5e163260e --- /dev/null +++ b/api/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/interface.svg b/api/images/nav-icons/interface.svg new file mode 100755 index 000000000..32063ba26 --- /dev/null +++ b/api/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/api/images/nav-icons/object.svg b/api/images/nav-icons/object.svg new file mode 100755 index 000000000..31f0ee3e6 --- /dev/null +++ b/api/images/nav-icons/object.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/nav-icons/typealias-kotlin.svg b/api/images/nav-icons/typealias-kotlin.svg new file mode 100755 index 000000000..f4bb238b5 --- /dev/null +++ b/api/images/nav-icons/typealias-kotlin.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/api/images/theme-toggle.svg b/api/images/theme-toggle.svg new file mode 100755 index 000000000..df86202bb --- /dev/null +++ b/api/images/theme-toggle.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/api/index.html b/api/index.html new file mode 100755 index 000000000..27a25b832 --- /dev/null +++ b/api/index.html @@ -0,0 +1,142 @@ + + + + + All modules + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    All modules:

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/-base-coroutine-animator.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/-base-coroutine-animator.html new file mode 100755 index 000000000..cffeaa8f3 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/-base-coroutine-animator.html @@ -0,0 +1,76 @@ + + + + + BaseCoroutineAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BaseCoroutineAnimator

    +
    +
    constructor(terminal: Terminal, animation: RefreshableAnimation)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/clear.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/clear.html new file mode 100755 index 000000000..5d64c8540 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    open suspend override fun clear()

    Stop the animation and remove it from the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/execute.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/execute.html new file mode 100755 index 000000000..5d438b3b6 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/execute.html @@ -0,0 +1,76 @@ + + + + + execute + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    execute

    +
    +
    open suspend override fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/index.html new file mode 100755 index 000000000..d953c772c --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/index.html @@ -0,0 +1,149 @@ + + + + + BaseCoroutineAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BaseCoroutineAnimator

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(terminal: Terminal, animation: RefreshableAnimation)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open suspend override fun clear()

    Stop the animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open suspend override fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open suspend override fun stop()

    Stop the animation, but leave it on the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/stop.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/stop.html new file mode 100755 index 000000000..969444762 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-base-coroutine-animator/stop.html @@ -0,0 +1,76 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    open suspend override fun stop()

    Stop the animation, but leave it on the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/clear.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/clear.html new file mode 100755 index 000000000..7644a38cf --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    abstract suspend fun clear()

    Stop the animation and remove it from the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/execute.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/execute.html new file mode 100755 index 000000000..84b616488 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/execute.html @@ -0,0 +1,76 @@ + + + + + execute + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    execute

    +
    +
    abstract suspend fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/index.html new file mode 100755 index 000000000..f7e5b3f1b --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/index.html @@ -0,0 +1,130 @@ + + + + + CoroutineAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun clear()

    Stop the animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun stop()

    Stop the animation, but leave it on the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/stop.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/stop.html new file mode 100755 index 000000000..f75c15a13 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-animator/stop.html @@ -0,0 +1,76 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    abstract suspend fun stop()

    Stop the animation, but leave it on the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-animator/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-animator/index.html new file mode 100755 index 000000000..be89c9763 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-animator/index.html @@ -0,0 +1,194 @@ + + + + + CoroutineProgressAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val finished: Boolean
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long?, completed: Long, start: Boolean, visible: Boolean): ProgressTask<T>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun clear()

    Stop the animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun removeTask(taskId: TaskId): Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun stop()

    Stop the animation, but leave it on the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-bar-animation/-coroutine-progress-bar-animation.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-bar-animation/-coroutine-progress-bar-animation.html new file mode 100755 index 000000000..da1eb7eaa --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-bar-animation/-coroutine-progress-bar-animation.html @@ -0,0 +1,76 @@ + + + + + CoroutineProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CoroutineProgressBarAnimation

    +
    +
    constructor(terminal: Terminal, maker: ProgressBarWidgetMaker, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-bar-animation/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-bar-animation/index.html new file mode 100755 index 000000000..8d3ac7f2d --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-bar-animation/index.html @@ -0,0 +1,213 @@ + + + + + CoroutineProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CoroutineProgressBarAnimation

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(terminal: Terminal, maker: ProgressBarWidgetMaker, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val finished: Boolean
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long?, completed: Long, start: Boolean, visible: Boolean): ProgressTask<T>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open suspend override fun clear()

    Stop the animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open suspend override fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun refresh(refreshAll: Boolean)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun removeTask(taskId: TaskId): Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open suspend override fun stop()

    Stop the animation, but leave it on the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-task-animator/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-task-animator/index.html new file mode 100755 index 000000000..915b52f8d --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/-coroutine-progress-task-animator/index.html @@ -0,0 +1,299 @@ + + + + + CoroutineProgressTaskAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CoroutineProgressTaskAnimator

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val completed: Long
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val context: T
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val finished: Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val id: TaskId
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val paused: Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val started: Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val total: Long?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val visible: Boolean
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun clear()

    Stop the animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun execute()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun makeState(): ProgressState<T>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun reset(start: Boolean, block: ProgressTaskUpdateScope<T>.() -> Unit)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract suspend fun stop()

    Stop the animation, but leave it on the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun update(block: ProgressTaskUpdateScope<T>.() -> Unit)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/animate-in-coroutine.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/animate-in-coroutine.html new file mode 100755 index 000000000..8b3d6ec67 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/animate-in-coroutine.html @@ -0,0 +1,76 @@ + + + + + animateInCoroutine + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    animateInCoroutine

    +
    +
    fun <T> ProgressBarDefinition<T>.animateInCoroutine(terminal: Terminal, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): CoroutineProgressTaskAnimator<T>

    Create a progress bar animation that runs in a coroutine.

    Example

    val animation = progressBarContextLayout<String> { ... }.animateInCoroutine(terminal, "context")
    launch { animation.execute() }
    animation.update { ... }

    Parameters

    terminal

    The terminal to draw the progress bar to

    context

    The context to pass to the task

    total

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    completed

    The number of steps currently completed in the progress task.

    start

    If true, start the task immediately.

    visible

    If false, the task will not be drawn to the screen.

    clearWhenFinished

    If true, the animation will be cleared when all tasks are finished. Otherwise, the animation will stop when all tasks are finished, but remain on the screen.

    speedEstimateDuration

    The duration over which to estimate the speed of the progress tasks. This estimate will be a rolling average over this duration.

    timeSource

    The time source to use for the animation.

    maker

    The widget maker to use to lay out the progress bars.


    fun ProgressBarDefinition<Unit>.animateInCoroutine(terminal: Terminal, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): CoroutineProgressTaskAnimator<Unit>

    Create a progress bar animation for a single task that runs synchronously.

    Example

    val animation = progressBarLayout { ... }.animateInCoroutine(terminal)
    launch { animation.execute() }
    animation.update { ... }

    Parameters

    terminal

    The terminal to draw the progress bar to

    total

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    completed

    The number of steps currently completed in the progress task.

    start

    If true, start the task immediately.

    visible

    If false, the task will not be drawn to the screen.

    clearWhenFinished

    If true, the animation will be cleared when all tasks are finished. Otherwise, the animation will stop when all tasks are finished, but remain on the screen.

    speedEstimateDuration

    The duration over which to estimate the speed of the progress tasks. This estimate will be a rolling average over this duration.

    timeSource

    The time source to use for the animation.

    maker

    The widget maker to use to lay out the progress bars.


    inline fun Animation<Unit>.animateInCoroutine(fps: Int = 30, crossinline finished: () -> Boolean = { false }): CoroutineAnimator

    Create an animator that runs this animation in a coroutine.

    Example

    val animation = terminal.animation<Unit> { ... }.animateInCoroutine(terminal)
    launch { animation.execute() }

    Create an animator that runs this animation in a coroutine.

    Example

    val animator = animation.animateInCoroutine(terminal)
    launch { animator.execute() }

    Create an animator that runs this animation in a coroutine.

    Example

    val animator = animation.animateInCoroutine()
    launch { animator.execute() }
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/index.html new file mode 100755 index 000000000..4875988d6 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.animation.coroutines/index.html @@ -0,0 +1,178 @@ + + + + + com.github.ajalt.mordant.animation.coroutines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + + + +
    + +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun Animation<Unit>.animateInCoroutine(fps: Int = 30, crossinline finished: () -> Boolean = { false }): CoroutineAnimator

    Create an animator that runs this animation in a coroutine.

    fun ProgressBarDefinition<Unit>.animateInCoroutine(terminal: Terminal, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): CoroutineProgressTaskAnimator<Unit>

    Create a progress bar animation for a single task that runs synchronously.

    fun <T> ProgressBarDefinition<T>.animateInCoroutine(terminal: Terminal, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): CoroutineProgressTaskAnimator<T>

    Create a progress bar animation that runs in a coroutine.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/index.html b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/index.html new file mode 100755 index 000000000..28af3a46d --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/index.html @@ -0,0 +1,129 @@ + + + + + com.github.ajalt.mordant.input.coroutines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.receiveEventsFlow(mouseTracking: MouseTracking = MouseTracking.Normal): Flow<InputEvent>

    Enter raw mode, emit input events until the flow in cancelled, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Enter raw mode, emit KeyboardEvents until the flow in cancelled, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.receiveMouseEventsFlow(mouseTracking: MouseTracking = MouseTracking.Normal): Flow<MouseEvent>

    Enter raw mode, emit MouseEvents until the flow in cancelled, then exit raw mode.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-events-flow.html b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-events-flow.html new file mode 100755 index 000000000..e8c076143 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-events-flow.html @@ -0,0 +1,76 @@ + + + + + receiveEventsFlow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveEventsFlow

    +
    +
    fun Terminal.receiveEventsFlow(mouseTracking: MouseTracking = MouseTracking.Normal): Flow<InputEvent>

    Enter raw mode, emit input events until the flow in cancelled, then exit raw mode.

    Parameters

    mouseTracking

    The type of mouse tracking to enable.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-key-events-flow.html b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-key-events-flow.html new file mode 100755 index 000000000..a1db054d1 --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-key-events-flow.html @@ -0,0 +1,76 @@ + + + + + receiveKeyEventsFlow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveKeyEventsFlow

    +
    +

    Enter raw mode, emit KeyboardEvents until the flow in cancelled, then exit raw mode.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-mouse-events-flow.html b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-mouse-events-flow.html new file mode 100755 index 000000000..174ff0f0c --- /dev/null +++ b/api/mordant-coroutines/com.github.ajalt.mordant.input.coroutines/receive-mouse-events-flow.html @@ -0,0 +1,76 @@ + + + + + receiveMouseEventsFlow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveMouseEventsFlow

    +
    +
    fun Terminal.receiveMouseEventsFlow(mouseTracking: MouseTracking = MouseTracking.Normal): Flow<MouseEvent>

    Enter raw mode, emit MouseEvents until the flow in cancelled, then exit raw mode.

    Parameters

    mouseTracking

    The type of mouse tracking to enable.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/index.html b/api/mordant-coroutines/index.html new file mode 100755 index 000000000..2628f3057 --- /dev/null +++ b/api/mordant-coroutines/index.html @@ -0,0 +1,113 @@ + + + + + mordant-coroutines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mordant-coroutines

    +
    +

    Packages

    +
    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-coroutines/navigation.html b/api/mordant-coroutines/navigation.html new file mode 100755 index 000000000..16189cee6 --- /dev/null +++ b/api/mordant-coroutines/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/-terminal-interface-provider-ffm.html b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/-terminal-interface-provider-ffm.html new file mode 100755 index 000000000..dc7cdfdbf --- /dev/null +++ b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/-terminal-interface-provider-ffm.html @@ -0,0 +1,76 @@ + + + + + TerminalInterfaceProviderFfm + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProviderFfm

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/index.html b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/index.html new file mode 100755 index 000000000..490bae3f7 --- /dev/null +++ b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/index.html @@ -0,0 +1,119 @@ + + + + + TerminalInterfaceProviderFfm + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProviderFfm

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun load(): TerminalInterface?
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/load.html b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/load.html new file mode 100755 index 000000000..0f23a9406 --- /dev/null +++ b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/-terminal-interface-provider-ffm/load.html @@ -0,0 +1,76 @@ + + + + + load + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    load

    +
    +
    open override fun load(): TerminalInterface?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/index.html b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/index.html new file mode 100755 index 000000000..d92156fb1 --- /dev/null +++ b/api/mordant-jvm-ffm/com.github.ajalt.mordant.terminal.terminalinterface.ffm/index.html @@ -0,0 +1,99 @@ + + + + + com.github.ajalt.mordant.terminal.terminalinterface.ffm + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-ffm/index.html b/api/mordant-jvm-ffm/index.html new file mode 100755 index 000000000..e6e6bf55e --- /dev/null +++ b/api/mordant-jvm-ffm/index.html @@ -0,0 +1,95 @@ + + + + + mordant-jvm-ffm + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mordant-jvm-ffm

    +
    +

    Packages

    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-ffm/navigation.html b/api/mordant-jvm-ffm/navigation.html new file mode 100755 index 000000000..16189cee6 --- /dev/null +++ b/api/mordant-jvm-ffm/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/-terminal-interface-provider-native-image.html b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/-terminal-interface-provider-native-image.html new file mode 100755 index 000000000..4d6dee331 --- /dev/null +++ b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/-terminal-interface-provider-native-image.html @@ -0,0 +1,76 @@ + + + + + TerminalInterfaceProviderNativeImage + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProviderNativeImage

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/index.html b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/index.html new file mode 100755 index 000000000..a5e880601 --- /dev/null +++ b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/index.html @@ -0,0 +1,119 @@ + + + + + TerminalInterfaceProviderNativeImage + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProviderNativeImage

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun load(): TerminalInterface?
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/load.html b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/load.html new file mode 100755 index 000000000..bbb5ec8c9 --- /dev/null +++ b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/-terminal-interface-provider-native-image/load.html @@ -0,0 +1,76 @@ + + + + + load + + + + + + + + + + + + + + + + + +
    + +
    + + +
    +
    + + + diff --git a/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/index.html b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/index.html new file mode 100755 index 000000000..593b02abf --- /dev/null +++ b/api/mordant-jvm-graal-ffi/com.github.ajalt.mordant.terminal.terminalinterface.nativeimage/index.html @@ -0,0 +1,99 @@ + + + + + com.github.ajalt.mordant.terminal.terminalinterface.nativeimage + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-graal-ffi/index.html b/api/mordant-jvm-graal-ffi/index.html new file mode 100755 index 000000000..a8d1f256c --- /dev/null +++ b/api/mordant-jvm-graal-ffi/index.html @@ -0,0 +1,95 @@ + + + + + mordant-jvm-graal-ffi + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mordant-jvm-graal-ffi

    +
    +

    Packages

    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-graal-ffi/navigation.html b/api/mordant-jvm-graal-ffi/navigation.html new file mode 100755 index 000000000..16189cee6 --- /dev/null +++ b/api/mordant-jvm-graal-ffi/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/-terminal-interface-provider-jna.html b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/-terminal-interface-provider-jna.html new file mode 100755 index 000000000..465172dd9 --- /dev/null +++ b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/-terminal-interface-provider-jna.html @@ -0,0 +1,76 @@ + + + + + TerminalInterfaceProviderJna + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProviderJna

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/index.html b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/index.html new file mode 100755 index 000000000..7c2e66f5b --- /dev/null +++ b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/index.html @@ -0,0 +1,119 @@ + + + + + TerminalInterfaceProviderJna + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProviderJna

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun load(): TerminalInterface?
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/load.html b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/load.html new file mode 100755 index 000000000..75169c1f9 --- /dev/null +++ b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/-terminal-interface-provider-jna/load.html @@ -0,0 +1,76 @@ + + + + + load + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    load

    +
    +
    open override fun load(): TerminalInterface?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/index.html b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/index.html new file mode 100755 index 000000000..ec961e1be --- /dev/null +++ b/api/mordant-jvm-jna/com.github.ajalt.mordant.terminal.terminalinterface.jna/index.html @@ -0,0 +1,99 @@ + + + + + com.github.ajalt.mordant.terminal.terminalinterface.jna + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-jna/index.html b/api/mordant-jvm-jna/index.html new file mode 100755 index 000000000..00e25d8fc --- /dev/null +++ b/api/mordant-jvm-jna/index.html @@ -0,0 +1,95 @@ + + + + + mordant-jvm-jna + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mordant-jvm-jna

    +
    +

    Packages

    +
    +
    +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-jvm-jna/navigation.html b/api/mordant-jvm-jna/navigation.html new file mode 100755 index 000000000..16189cee6 --- /dev/null +++ b/api/mordant-jvm-jna/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/-markdown.html b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/-markdown.html new file mode 100755 index 000000000..8a642e4a9 --- /dev/null +++ b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/-markdown.html @@ -0,0 +1,76 @@ + + + + + Markdown + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Markdown

    +
    +
    constructor(markdown: String, showHtml: Boolean = false, hyperlinks: Boolean? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/index.html b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/index.html new file mode 100755 index 000000000..a2cdf7650 --- /dev/null +++ b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/index.html @@ -0,0 +1,134 @@ + + + + + Markdown + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Markdown

    +
    class Markdown(markdown: String, showHtml: Boolean = false, hyperlinks: Boolean? = null) : Widget

    A Widget that renders a GitHub Flavored markdown string.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(markdown: String, showHtml: Boolean = false, hyperlinks: Boolean? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/measure.html b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/measure.html new file mode 100755 index 000000000..9a24f65fe --- /dev/null +++ b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/render.html b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/render.html new file mode 100755 index 000000000..840137db2 --- /dev/null +++ b/api/mordant-markdown/com.github.ajalt.mordant.markdown/-markdown/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-markdown/com.github.ajalt.mordant.markdown/index.html b/api/mordant-markdown/com.github.ajalt.mordant.markdown/index.html new file mode 100755 index 000000000..9127d5202 --- /dev/null +++ b/api/mordant-markdown/com.github.ajalt.mordant.markdown/index.html @@ -0,0 +1,99 @@ + + + + + com.github.ajalt.mordant.markdown + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Markdown(markdown: String, showHtml: Boolean = false, hyperlinks: Boolean? = null) : Widget

    A Widget that renders a GitHub Flavored markdown string.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-markdown/index.html b/api/mordant-markdown/index.html new file mode 100755 index 000000000..71703f862 --- /dev/null +++ b/api/mordant-markdown/index.html @@ -0,0 +1,95 @@ + + + + + mordant-markdown + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mordant-markdown

    +
    +

    Packages

    +
    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant-markdown/navigation.html b/api/mordant-markdown/navigation.html new file mode 100755 index 000000000..16189cee6 --- /dev/null +++ b/api/mordant-markdown/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/-base-blocking-animator.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/-base-blocking-animator.html new file mode 100755 index 000000000..fde5d849d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/-base-blocking-animator.html @@ -0,0 +1,78 @@ + + + + + BaseBlockingAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BaseBlockingAnimator

    +
    +
    +
    +
    constructor(terminal: Terminal, animation: RefreshableAnimation)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/clear.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/clear.html new file mode 100755 index 000000000..78fe03121 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/clear.html @@ -0,0 +1,78 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    +
    +
    open override fun clear()

    Stop this animation and remove it from the screen.

    Future calls to refresh will cause the animation to resume.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/finished.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/finished.html new file mode 100755 index 000000000..83e710fee --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/finished.html @@ -0,0 +1,78 @@ + + + + + finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finished

    +
    +
    +
    +
    open override val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/index.html new file mode 100755 index 000000000..6016b78b5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/index.html @@ -0,0 +1,264 @@ + + + + + BaseBlockingAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BaseBlockingAnimator

    +
    +
    +
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    constructor(terminal: Terminal, animation: RefreshableAnimation)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun refresh(refreshAll: Boolean)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/refresh.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/refresh.html new file mode 100755 index 000000000..3688e13c6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/refresh.html @@ -0,0 +1,78 @@ + + + + + refresh + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    refresh

    +
    +
    +
    +
    open override fun refresh(refreshAll: Boolean)

    Draw the animation to the screen.

    This is called automatically when the animation is running, so you don't usually need to call it manually.

    Parameters

    refreshAll

    If true, refresh all contents, ignoring their fps.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/run-blocking.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/run-blocking.html new file mode 100755 index 000000000..8b4f39060 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/run-blocking.html @@ -0,0 +1,78 @@ + + + + + runBlocking + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    runBlocking

    +
    +
    +
    +
    open override fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    This calls Thread.sleep between each frame, so it should usually be run in a separate thread so that you can update the state concurrently.

    See also

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/stop.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/stop.html new file mode 100755 index 000000000..7a0403642 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-base-blocking-animator/stop.html @@ -0,0 +1,78 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    +
    +
    open override fun stop()

    Stop this animation without removing it from the screen.

    Anything printed to the terminal after this call will be printed below this last frame of this animation.

    Future calls to refresh will cause the animation to start again.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-animator/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-animator/index.html new file mode 100755 index 000000000..c7d60deca --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-animator/index.html @@ -0,0 +1,243 @@ + + + + + BlockingAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-animator/run-blocking.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-animator/run-blocking.html new file mode 100755 index 000000000..4c4569b55 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-animator/run-blocking.html @@ -0,0 +1,78 @@ + + + + + runBlocking + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    runBlocking

    +
    +
    +
    +
    abstract fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    This calls Thread.sleep between each frame, so it should usually be run in a separate thread so that you can update the state concurrently.

    See also

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/-blocking-progress-bar-animation.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/-blocking-progress-bar-animation.html new file mode 100755 index 000000000..0665fdc80 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/-blocking-progress-bar-animation.html @@ -0,0 +1,78 @@ + + + + + BlockingProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BlockingProgressBarAnimation

    +
    +
    +
    +
    constructor(terminal: Terminal, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/finished.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/finished.html new file mode 100755 index 000000000..be8a40e49 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/finished.html @@ -0,0 +1,78 @@ + + + + + finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finished

    +
    +
    +
    +
    open override val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/index.html new file mode 100755 index 000000000..b19421058 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/index.html @@ -0,0 +1,328 @@ + + + + + BlockingProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BlockingProgressBarAnimation

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    constructor(terminal: Terminal, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long?, completed: Long, start: Boolean, visible: Boolean): ProgressTask<T>

    Add a new task to the progress bar with the given definition and context.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressBarAnimation.addTask(definition: ProgressBarDefinition<Unit>, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<Unit>

    Add a new task to the progress bar with the given definition.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun refresh(refreshAll: Boolean)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun removeTask(taskId: TaskId): Boolean

    Remove a task with the given taskId from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Remove a task from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/refresh.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/refresh.html new file mode 100755 index 000000000..78052332a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-blocking-progress-bar-animation/refresh.html @@ -0,0 +1,78 @@ + + + + + refresh + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    refresh

    +
    +
    +
    +
    open override fun refresh(refreshAll: Boolean)

    Draw the animation to the screen.

    This is called automatically when the animation is running, so you don't usually need to call it manually.

    Parameters

    refreshAll

    If true, refresh all contents, ignoring their fps.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/-multi-progress-bar-animation.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/-multi-progress-bar-animation.html new file mode 100755 index 000000000..4bb7dbfd6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/-multi-progress-bar-animation.html @@ -0,0 +1,76 @@ + + + + + MultiProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MultiProgressBarAnimation

    +
    +
    constructor(terminal: Terminal, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/add-task.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/add-task.html new file mode 100755 index 000000000..e977d24a9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/add-task.html @@ -0,0 +1,76 @@ + + + + + addTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    addTask

    +
    +
    open override fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long?, completed: Long, start: Boolean, visible: Boolean): ProgressTask<T>

    Add a new task to the progress bar with the given definition and context.

    Parameters

    definition

    The definition of the progress bar to add

    context

    The context to pass to the task

    total

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    completed

    The number of steps currently completed in the progress task.

    start

    If true, start the task immediately.

    visible

    If false, the task will not be drawn to the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/clear.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/clear.html new file mode 100755 index 000000000..3b1590407 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    open override fun clear()

    Stop this animation and remove it from the screen.

    Future calls to refresh will cause the animation to resume.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/finished.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/finished.html new file mode 100755 index 000000000..301204d99 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/finished.html @@ -0,0 +1,76 @@ + + + + + finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finished

    +
    +
    open override val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/fps.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/fps.html new file mode 100755 index 000000000..1d7a70748 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/fps.html @@ -0,0 +1,76 @@ + + + + + fps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    fps

    +
    +
    open override val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/index.html new file mode 100755 index 000000000..aa26f36d6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/index.html @@ -0,0 +1,291 @@ + + + + + MultiProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MultiProgressBarAnimation

    +
    class MultiProgressBarAnimation(val terminal: Terminal, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic) : RefreshableAnimation, ProgressBarAnimation
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(terminal: Terminal, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The terminal to render the animation to

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long?, completed: Long, start: Boolean, visible: Boolean): ProgressTask<T>

    Add a new task to the progress bar with the given definition and context.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressBarAnimation.addTask(definition: ProgressBarDefinition<Unit>, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<Unit>

    Add a new task to the progress bar with the given definition.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun refresh(refreshAll: Boolean)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun removeTask(taskId: TaskId): Boolean

    Remove a task with the given taskId from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Remove a task from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/refresh.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/refresh.html new file mode 100755 index 000000000..097c3f0ac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/refresh.html @@ -0,0 +1,76 @@ + + + + + refresh + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    refresh

    +
    +
    open override fun refresh(refreshAll: Boolean)

    Draw the animation to the screen.

    This is called automatically when the animation is running, so you don't usually need to call it manually.

    Parameters

    refreshAll

    If true, refresh all contents, ignoring their fps.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/remove-task.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/remove-task.html new file mode 100755 index 000000000..3f5831079 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/remove-task.html @@ -0,0 +1,76 @@ + + + + + removeTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    removeTask

    +
    +
    open override fun removeTask(taskId: TaskId): Boolean

    Remove a task with the given taskId from the progress bar.

    Return

    true if the task was removed, false if it was not found.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/stop.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/stop.html new file mode 100755 index 000000000..bc057c7a3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/stop.html @@ -0,0 +1,76 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    open override fun stop()

    Stop this animation without removing it from the screen.

    Anything printed to the terminal after this call will be printed below this last frame of this animation.

    Future calls to refresh will cause the animation to start again.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/terminal.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/terminal.html new file mode 100755 index 000000000..d94eb12eb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-multi-progress-bar-animation/terminal.html @@ -0,0 +1,76 @@ + + + + + terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    terminal

    +
    +

    The terminal to render the animation to

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/add-task.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/add-task.html new file mode 100755 index 000000000..215c5a04e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/add-task.html @@ -0,0 +1,76 @@ + + + + + addTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    addTask

    +
    +
    abstract fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<T>

    Add a new task to the progress bar with the given definition and context.

    Parameters

    definition

    The definition of the progress bar to add

    context

    The context to pass to the task

    total

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    completed

    The number of steps currently completed in the progress task.

    start

    If true, start the task immediately.

    visible

    If false, the task will not be drawn to the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/index.html new file mode 100755 index 000000000..a7ed0d4ec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/index.html @@ -0,0 +1,179 @@ + + + + + ProgressBarAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarAnimation

    +

    An animation that can draw one or more progress tasks to the screen.

    Inheritors

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<T>

    Add a new task to the progress bar with the given definition and context.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressBarAnimation.addTask(definition: ProgressBarDefinition<Unit>, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<Unit>

    Add a new task to the progress bar with the given definition.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun removeTask(taskId: TaskId): Boolean

    Remove a task with the given taskId from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Remove a task from the progress bar.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/remove-task.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/remove-task.html new file mode 100755 index 000000000..e1263daf3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-bar-animation/remove-task.html @@ -0,0 +1,76 @@ + + + + + removeTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    removeTask

    +
    +
    abstract fun removeTask(taskId: TaskId): Boolean

    Remove a task with the given taskId from the progress bar.

    Return

    true if the task was removed, false if it was not found.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/completed.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/completed.html new file mode 100755 index 000000000..52e7aa398 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/completed.html @@ -0,0 +1,76 @@ + + + + + completed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completed

    +
    +
    abstract var completed: Long

    The number of units of work that have been completed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/context.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/context.html new file mode 100755 index 000000000..98f6b5972 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/context.html @@ -0,0 +1,76 @@ + + + + + context + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    context

    +
    +
    abstract var context: T

    The context is used to pass custom information to the task

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/index.html new file mode 100755 index 000000000..7de836d3c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/index.html @@ -0,0 +1,175 @@ + + + + + ProgressTaskUpdateScope + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressTaskUpdateScope

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var completed: Long

    The number of units of work that have been completed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var context: T

    The context is used to pass custom information to the task

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var paused: Boolean

    Whether the task is currently paused

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var started: Boolean

    Whether the task has been started

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var total: Long?

    The total number of units of work, or null if the total is unknown

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var visible: Boolean

    Whether the task should be visible in the progress bar

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/paused.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/paused.html new file mode 100755 index 000000000..39e317fd7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/paused.html @@ -0,0 +1,76 @@ + + + + + paused + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    paused

    +
    +
    abstract var paused: Boolean

    Whether the task is currently paused

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/started.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/started.html new file mode 100755 index 000000000..2a70e0033 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/started.html @@ -0,0 +1,76 @@ + + + + + started + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    started

    +
    +
    abstract var started: Boolean

    Whether the task has been started

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/total.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/total.html new file mode 100755 index 000000000..b446ab6b5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/total.html @@ -0,0 +1,76 @@ + + + + + total + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    total

    +
    +
    abstract var total: Long?

    The total number of units of work, or null if the total is unknown

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/visible.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/visible.html new file mode 100755 index 000000000..1ddf6812c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task-update-scope/visible.html @@ -0,0 +1,76 @@ + + + + + visible + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    visible

    +
    +
    abstract var visible: Boolean

    Whether the task should be visible in the progress bar

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/completed.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/completed.html new file mode 100755 index 000000000..0317d1502 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/completed.html @@ -0,0 +1,76 @@ + + + + + completed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completed

    +
    +
    abstract val completed: Long

    The number of units of work that have been completed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/context.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/context.html new file mode 100755 index 000000000..3c5f731af --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/context.html @@ -0,0 +1,76 @@ + + + + + context + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    context

    +
    +
    abstract val context: T

    The context is used to pass custom information to the task

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/finished.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/finished.html new file mode 100755 index 000000000..01f726274 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/finished.html @@ -0,0 +1,76 @@ + + + + + finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finished

    +
    +
    abstract val finished: Boolean

    true if this task's completed count is equal to its total

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/id.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/id.html new file mode 100755 index 000000000..24d21e98a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/id.html @@ -0,0 +1,76 @@ + + + + + id + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    id

    +
    +
    abstract val id: TaskId

    The unique id of this task

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/index.html new file mode 100755 index 000000000..b82267a04 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/index.html @@ -0,0 +1,284 @@ + + + + + ProgressTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressTask

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val completed: Long

    The number of units of work that have been completed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val context: T

    The context is used to pass custom information to the task

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this task's completed count is equal to its total

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val id: TaskId

    The unique id of this task

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val paused: Boolean

    Whether the task is currently paused

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val started: Boolean

    Whether the task has been started

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val total: Long?

    The total number of units of work, or null if the total is unknown

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val visible: Boolean

    Whether the task should be visible in the progress bar

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressTask<*>.advance(amount: Long = 1)
    fun ProgressTask<*>.advance(amount: Number)

    Advance the completed progress of this task by amount.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun makeState(): ProgressState<T>

    Create a ProgressState for this task's current state

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun reset(start: Boolean = true, block: ProgressTaskUpdateScope<T>.() -> Unit = {})

    Reset the task so its completed count is 0 and its clock is reset.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun update(block: ProgressTaskUpdateScope<T>.() -> Unit)

    Update the task's state.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressTask<*>.update(completed: Long)
    fun ProgressTask<*>.update(completed: Number)

    Set the completed progress of this task to completed.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/make-state.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/make-state.html new file mode 100755 index 000000000..b3fd1c6cd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/make-state.html @@ -0,0 +1,76 @@ + + + + + makeState + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    makeState

    +
    +
    abstract fun makeState(): ProgressState<T>

    Create a ProgressState for this task's current state

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/paused.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/paused.html new file mode 100755 index 000000000..87a7d42f9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/paused.html @@ -0,0 +1,76 @@ + + + + + paused + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    paused

    +
    +
    abstract val paused: Boolean

    Whether the task is currently paused

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/reset.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/reset.html new file mode 100755 index 000000000..072b4f53d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/reset.html @@ -0,0 +1,76 @@ + + + + + reset + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    reset

    +
    +
    abstract fun reset(start: Boolean = true, block: ProgressTaskUpdateScope<T>.() -> Unit = {})

    Reset the task so its completed count is 0 and its clock is reset.

    Parameters

    start

    If true, start the task after resetting it and running block.

    block

    A block to update the task's state after resetting it.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/started.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/started.html new file mode 100755 index 000000000..1b5225631 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/started.html @@ -0,0 +1,76 @@ + + + + + started + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    started

    +
    +
    abstract val started: Boolean

    Whether the task has been started

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/total.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/total.html new file mode 100755 index 000000000..e468c5847 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/total.html @@ -0,0 +1,76 @@ + + + + + total + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    total

    +
    +
    abstract val total: Long?

    The total number of units of work, or null if the total is unknown

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/update.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/update.html new file mode 100755 index 000000000..56c7b2b40 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/update.html @@ -0,0 +1,76 @@ + + + + + update + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    update

    +
    +
    abstract fun update(block: ProgressTaskUpdateScope<T>.() -> Unit)

    Update the task's state.

    If the completed count is equal to the total, the task will be marked as finished.

    If the task is already finished, this method will still update the task's state, but it will remain marked as finished. Use reset if you want to start the task again.

    Note that if you are calling this method concurrently, the block may be called more than once, so it should not have any side effects.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/visible.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/visible.html new file mode 100755 index 000000000..ba94978cf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-progress-task/visible.html @@ -0,0 +1,76 @@ + + + + + visible + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    visible

    +
    +
    abstract val visible: Boolean

    Whether the task should be visible in the progress bar

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-thread-progress-animator/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-thread-progress-animator/index.html new file mode 100755 index 000000000..ada3af945 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-thread-progress-animator/index.html @@ -0,0 +1,307 @@ + + + + + ThreadProgressAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ThreadProgressAnimator

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun <T> addTask(definition: ProgressBarDefinition<T>, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<T>

    Add a new task to the progress bar with the given definition and context.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressBarAnimation.addTask(definition: ProgressBarDefinition<Unit>, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<Unit>

    Add a new task to the progress bar with the given definition.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun removeTask(taskId: TaskId): Boolean

    Remove a task with the given taskId from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Remove a task from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/-thread-progress-task-animator/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/-thread-progress-task-animator/index.html new file mode 100755 index 000000000..433781b77 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/-thread-progress-task-animator/index.html @@ -0,0 +1,443 @@ + + + + + ThreadProgressTaskAnimator + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ThreadProgressTaskAnimator

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val completed: Long

    The number of units of work that have been completed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val context: T

    The context is used to pass custom information to the task

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val id: TaskId

    The unique id of this task

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val paused: Boolean

    Whether the task is currently paused

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val started: Boolean

    Whether the task has been started

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val total: Long?

    The total number of units of work, or null if the total is unknown

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract val visible: Boolean

    Whether the task should be visible in the progress bar

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressTask<*>.advance(amount: Long = 1)
    fun ProgressTask<*>.advance(amount: Number)

    Advance the completed progress of this task by amount.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun makeState(): ProgressState<T>

    Create a ProgressState for this task's current state

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun reset(start: Boolean = true, block: ProgressTaskUpdateScope<T>.() -> Unit = {})

    Reset the task so its completed count is 0 and its clock is reset.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun runBlocking()

    Start the animation and refresh it until all its tasks are finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    abstract fun update(block: ProgressTaskUpdateScope<T>.() -> Unit)

    Update the task's state.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressTask<*>.update(completed: Long)
    fun ProgressTask<*>.update(completed: Number)

    Set the completed progress of this task to completed.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/add-task.html b/api/mordant/com.github.ajalt.mordant.animation.progress/add-task.html new file mode 100755 index 000000000..a257e0552 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/add-task.html @@ -0,0 +1,76 @@ + + + + + addTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    addTask

    +
    +
    fun ProgressBarAnimation.addTask(definition: ProgressBarDefinition<Unit>, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<Unit>

    Add a new task to the progress bar with the given definition.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/advance.html b/api/mordant/com.github.ajalt.mordant.animation.progress/advance.html new file mode 100755 index 000000000..5a3acc765 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/advance.html @@ -0,0 +1,76 @@ + + + + + advance + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    advance

    +
    +
    fun ProgressTask<*>.advance(amount: Long = 1)
    fun ProgressTask<*>.advance(amount: Number)

    Advance the completed progress of this task by amount.

    This is a shortcut for update { completed += amount }.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/animate-on-thread.html b/api/mordant/com.github.ajalt.mordant.animation.progress/animate-on-thread.html new file mode 100755 index 000000000..ff344174a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/animate-on-thread.html @@ -0,0 +1,78 @@ + + + + + animateOnThread + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    animateOnThread

    +
    +
    +
    +
    fun <T> ProgressBarDefinition<T>.animateOnThread(terminal: Terminal, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<T>

    Create a progress bar animation with a single task that runs synchronously.

    Use execute to run the animation on a background thread.

    Example

    val animation = progressBarContextLayout<String> { ... }.animateOnThread(terminal, "context")
    animation.execute()
    animation.update { ... }

    Parameters

    terminal

    The terminal to draw the progress bar to

    context

    The context to pass to the task

    total

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    completed

    The number of steps currently completed in the progress task.

    start

    If true, start the task immediately.

    visible

    If false, the task will not be drawn to the screen.

    clearWhenFinished

    If true, the animation will be cleared when all tasks are finished. Otherwise, the animation will stop when all tasks are finished, but remain on the screen.

    speedEstimateDuration

    The duration over which to estimate the speed of the progress tasks. This estimate will be a rolling average over this duration.

    timeSource

    The time source to use for the animation.

    maker

    The widget maker to use to lay out the progress bars.


    fun ProgressBarDefinition<Unit>.animateOnThread(terminal: Terminal, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<Unit>

    Create a progress bar animation for a single task that runs synchronously.

    Use execute to run the animation on a background thread.

    Example

    val animation = progressBarLayout { ... }.animateOnThread(terminal)
    animation.execute()
    animation.update { ... }

    Parameters

    terminal

    The terminal to draw the progress bar to

    total

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    completed

    The number of steps currently completed in the progress task.

    start

    If true, start the task immediately.

    visible

    If false, the task will not be drawn to the screen.

    clearWhenFinished

    If true, the animation will be cleared when all tasks are finished. Otherwise, the animation will stop when all tasks are finished, but remain on the screen.

    speedEstimateDuration

    The duration over which to estimate the speed of the progress tasks. This estimate will be a rolling average over this duration.

    timeSource

    The time source to use for the animation.

    maker

    The widget maker to use to lay out the progress bars.


    inline fun Animation<Unit>.animateOnThread(fps: Int = 30, crossinline finished: () -> Boolean = { false }): BlockingAnimator

    Create an animator that runs this animation synchronously.

    Use execute to run the animation on a background thread.

    Example

    val animation = terminal.animation<Unit>{ ... }.animateOnThread(terminal)
    animation.execute()

    Create an animator that runs this animation synchronously.

    Use execute to run the animation on a background thread.

    Example

    val animator = animation.animateOnThread(terminal)
    animator.execute()

    Create an animator that runs this animation synchronously.

    Use execute to run the animation on a background thread.

    Example

    val animator = animation.animateOnThread()
    animator.execute()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/execute.html b/api/mordant/com.github.ajalt.mordant.animation.progress/execute.html new file mode 100755 index 000000000..f2ce19160 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/execute.html @@ -0,0 +1,78 @@ + + + + + execute + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    execute

    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    Return

    a Future that can be used to cancel the animation.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/index.html b/api/mordant/com.github.ajalt.mordant.animation.progress/index.html new file mode 100755 index 000000000..abfd1ca62 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/index.html @@ -0,0 +1,328 @@ + + + + + com.github.ajalt.mordant.animation.progress + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class MultiProgressBarAnimation(val terminal: Terminal, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic) : RefreshableAnimation, ProgressBarAnimation
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    An animation that can draw one or more progress tasks to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface ProgressTask<T>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressBarAnimation.addTask(definition: ProgressBarDefinition<Unit>, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true): ProgressTask<Unit>

    Add a new task to the progress bar with the given definition.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressTask<*>.advance(amount: Long = 1)
    fun ProgressTask<*>.advance(amount: Number)

    Advance the completed progress of this task by amount.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    inline fun Animation<Unit>.animateOnThread(fps: Int = 30, crossinline finished: () -> Boolean = { false }): BlockingAnimator

    Create an animator that runs this animation synchronously.

    fun ProgressBarDefinition<Unit>.animateOnThread(terminal: Terminal, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<Unit>

    Create a progress bar animation for a single task that runs synchronously.

    fun <T> ProgressBarDefinition<T>.animateOnThread(terminal: Terminal, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<T>

    Create a progress bar animation with a single task that runs synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun BlockingAnimator.execute(executor: ExecutorService = Executors.newSingleThreadExecutor(DaemonThreadFactory())): Future<*>

    Run the animation in a background thread on an executor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Remove a task from the progress bar.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressTask<*>.update(completed: Long)
    fun ProgressTask<*>.update(completed: Number)

    Set the completed progress of this task to completed.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/remove-task.html b/api/mordant/com.github.ajalt.mordant.animation.progress/remove-task.html new file mode 100755 index 000000000..c898805e9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/remove-task.html @@ -0,0 +1,76 @@ + + + + + removeTask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    removeTask

    +
    +

    Remove a task from the progress bar.

    Return

    true if the task was removed, false if it was not found.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation.progress/update.html b/api/mordant/com.github.ajalt.mordant.animation.progress/update.html new file mode 100755 index 000000000..6bc22cf03 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation.progress/update.html @@ -0,0 +1,76 @@ + + + + + update + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    update

    +
    +
    fun ProgressTask<*>.update(completed: Long)
    fun ProgressTask<*>.update(completed: Number)

    Set the completed progress of this task to completed.

    This is a shortcut for update { this.completed += completed }.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-animation/-animation.html b/api/mordant/com.github.ajalt.mordant.animation/-animation/-animation.html new file mode 100755 index 000000000..9e879cc4c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-animation/-animation.html @@ -0,0 +1,76 @@ + + + + + Animation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Animation

    +
    +
    constructor(terminal: Terminal)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-animation/clear.html b/api/mordant/com.github.ajalt.mordant.animation/-animation/clear.html new file mode 100755 index 000000000..20c90ea7c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-animation/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    override fun clear()

    Stop this animation and remove it from the screen.

    Future calls to update will cause the animation to resume.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-animation/index.html b/api/mordant/com.github.ajalt.mordant.animation/-animation/index.html new file mode 100755 index 000000000..580a07e68 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-animation/index.html @@ -0,0 +1,201 @@ + + + + + Animation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Animation

    +
    abstract class Animation<T>(val terminal: Terminal) : StoppableAnimation

    An Animation renders a widget to the screen each time update is called, clearing the render from the previous call.

    If you print anything in between calls to update, the rendered widget will be cleared, before the print, then rendered again below it.

    Note that Animation doesn't render the widget automatically: you need to call update yourself when your data changes. If your terminal is not interactive, the animation will not render anything.

    You can create instances of Animations with animation, textAnimation, animate a progressBarLayout, or by creating a subclass.

    Note that although this class's state is thread safe, calling update concurrently will likely cause garbled output, so usage of this class should be serialized.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(terminal: Terminal)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    inline fun Animation<Unit>.animateOnThread(fps: Int = 30, crossinline finished: () -> Boolean = { false }): BlockingAnimator

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun Animation<Unit>.asRefreshable(fps: Int = 5, crossinline finished: () -> Boolean = { false }): RefreshableAnimation

    Convert this Animation to a RefreshableAnimation.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun update(data: T)

    Update the data for this animation.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-animation/stop.html b/api/mordant/com.github.ajalt.mordant.animation/-animation/stop.html new file mode 100755 index 000000000..d437864be --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-animation/stop.html @@ -0,0 +1,76 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    override fun stop()

    Stop this animation without removing it from the screen.

    Anything printed to the terminal after this call will be printed below this last frame of this animation.

    Future calls to update will cause the animation to start again.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-animation/terminal.html b/api/mordant/com.github.ajalt.mordant.animation/-animation/terminal.html new file mode 100755 index 000000000..3d743169d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-animation/terminal.html @@ -0,0 +1,76 @@ + + + + + terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    terminal

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-animation/update.html b/api/mordant/com.github.ajalt.mordant.animation/-animation/update.html new file mode 100755 index 000000000..baa75d1ed --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-animation/update.html @@ -0,0 +1,76 @@ + + + + + update + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    update

    +
    +
    fun update(data: T)

    Update the data for this animation.

    This will cause the existing animation frame to be cleared and the new frame rendered in its place.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/clear.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/clear.html new file mode 100755 index 000000000..fb0c947b1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    abstract override fun clear()

    Stop this animation and remove it from the screen.

    Future calls to refresh will cause the animation to resume.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/fps.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/fps.html new file mode 100755 index 000000000..57e0746f0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/fps.html @@ -0,0 +1,76 @@ + + + + + fps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    fps

    +
    +
    open val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/index.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/index.html new file mode 100755 index 000000000..3c1fd2cf8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/index.html @@ -0,0 +1,197 @@ + + + + + RefreshableAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    RefreshableAnimation

    +

    A version of Animation that has a parameterless refresh method instead of update.

    Implementations will need to handle concurrently updating their state.

    Inheritors

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open val fps: Int

    The rate, in Hz, that this animation should be refreshed, or 0 if it should not be refreshed automatically.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Create an animator that runs this animation synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract override fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract override fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/stop.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/stop.html new file mode 100755 index 000000000..d13c25999 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable-animation/stop.html @@ -0,0 +1,76 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    abstract override fun stop()

    Stop this animation without removing it from the screen.

    Anything printed to the terminal after this call will be printed below this last frame of this animation.

    Future calls to refresh will cause the animation to start again.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable/finished.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable/finished.html new file mode 100755 index 000000000..55097aaa5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable/finished.html @@ -0,0 +1,76 @@ + + + + + finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finished

    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable/index.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable/index.html new file mode 100755 index 000000000..881711db5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable/index.html @@ -0,0 +1,119 @@ + + + + + Refreshable + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Refreshable

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val finished: Boolean

    true if this animation has finished and should be stopped or cleared.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-refreshable/refresh.html b/api/mordant/com.github.ajalt.mordant.animation/-refreshable/refresh.html new file mode 100755 index 000000000..c5d29d9e5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-refreshable/refresh.html @@ -0,0 +1,76 @@ + + + + + refresh + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    refresh

    +
    +
    abstract fun refresh(refreshAll: Boolean = false)

    Draw the animation to the screen.

    This is called automatically when the animation is running, so you don't usually need to call it manually.

    Parameters

    refreshAll

    If true, refresh all contents, ignoring their fps.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/clear.html b/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/clear.html new file mode 100755 index 000000000..425150d41 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/clear.html @@ -0,0 +1,76 @@ + + + + + clear + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clear

    +
    +
    abstract fun clear()

    Stop this animation and remove it from the screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/index.html b/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/index.html new file mode 100755 index 000000000..88f8f955e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/index.html @@ -0,0 +1,115 @@ + + + + + StoppableAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    StoppableAnimation

    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/stop.html b/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/stop.html new file mode 100755 index 000000000..0c58c9d7f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/-stoppable-animation/stop.html @@ -0,0 +1,76 @@ + + + + + stop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stop

    +
    +
    abstract fun stop()

    Stop this animation without removing it from the screen.

    Anything printed to the terminal after this call will be printed below this last frame of this animation.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/animation.html b/api/mordant/com.github.ajalt.mordant.animation/animation.html new file mode 100755 index 000000000..14fbbc7ec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/animation.html @@ -0,0 +1,76 @@ + + + + + animation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    animation

    +
    +
    inline fun <T> Terminal.animation(crossinline draw: (T) -> Widget): Animation<T>

    Create an Animation that uses the draw function to render objects of type T.

    See also

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/as-refreshable.html b/api/mordant/com.github.ajalt.mordant.animation/as-refreshable.html new file mode 100755 index 000000000..0633c7fda --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/as-refreshable.html @@ -0,0 +1,76 @@ + + + + + asRefreshable + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    asRefreshable

    +
    +
    inline fun Animation<Unit>.asRefreshable(fps: Int = 5, crossinline finished: () -> Boolean = { false }): RefreshableAnimation

    Convert this Animation to a RefreshableAnimation.

    Example

    terminal.animation<Unit> {/*...*/}.asRefreshable().animateOnThread()

    Parameters

    fps

    The rate at which the animation should be refreshed.

    finished

    A function that returns true if the animation has finished.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/index.html b/api/mordant/com.github.ajalt.mordant.animation/index.html new file mode 100755 index 000000000..24b777e08 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/index.html @@ -0,0 +1,212 @@ + + + + + com.github.ajalt.mordant.animation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract class Animation<T>(val terminal: Terminal) : StoppableAnimation

    An Animation renders a widget to the screen each time update is called, clearing the render from the previous call.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface Refreshable
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A version of Animation that has a parameterless refresh method instead of update.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.animation(crossinline draw: (T) -> Widget): Animation<T>

    Create an Animation that uses the draw function to render objects of type T.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun Animation<Unit>.asRefreshable(fps: Int = 5, crossinline finished: () -> Boolean = { false }): RefreshableAnimation

    Convert this Animation to a RefreshableAnimation.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.textAnimation(whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, tabWidth: Int? = null, crossinline draw: (T) -> String): Animation<T>

    Create an Animation that wraps the result of the draw function into a Text widget and renders it.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/refresh-period.html b/api/mordant/com.github.ajalt.mordant.animation/refresh-period.html new file mode 100755 index 000000000..6b4c76ec8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/refresh-period.html @@ -0,0 +1,76 @@ + + + + + refreshPeriod + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    refreshPeriod

    +
    +

    The time between refreshes. This is 1 / refreshRate

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.animation/text-animation.html b/api/mordant/com.github.ajalt.mordant.animation/text-animation.html new file mode 100755 index 000000000..c9c7b59bc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.animation/text-animation.html @@ -0,0 +1,76 @@ + + + + + textAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    textAnimation

    +
    +
    inline fun <T> Terminal.textAnimation(whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, tabWidth: Int? = null, crossinline draw: (T) -> String): Animation<T>

    Create an Animation that wraps the result of the draw function into a Text widget and renders it.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-event/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-event/index.html new file mode 100755 index 000000000..c67dbc362 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-event/index.html @@ -0,0 +1,80 @@ + + + + + InputEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    InputEvent

    +
    sealed class InputEvent

    Inheritors

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver-animation/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver-animation/index.html new file mode 100755 index 000000000..a371815ca --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver-animation/index.html @@ -0,0 +1,164 @@ + + + + + InputReceiverAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    InputReceiverAnimation

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val terminal: Terminal

    The terminal that this receiver is reading input from.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clear()

    Stop this animation and remove it from the screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Receive an input event.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> InputReceiver<T>.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal): T

    Enter raw mode, read input from the terminal for this InputReceiver until it returns a result, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun stop()

    Stop this animation without removing it from the screen.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-companion/-finished.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-companion/-finished.html new file mode 100755 index 000000000..919018ced --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-companion/-finished.html @@ -0,0 +1,76 @@ + + + + + Finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Finished

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-companion/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-companion/index.html new file mode 100755 index 000000000..8a2f9a394 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-continue/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-continue/index.html new file mode 100755 index 000000000..4f864372f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-continue/index.html @@ -0,0 +1,80 @@ + + + + + Continue + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Continue

    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/-finished.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/-finished.html new file mode 100755 index 000000000..07aa2146c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/-finished.html @@ -0,0 +1,76 @@ + + + + + Finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Finished

    +
    +
    constructor(result: T)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/index.html new file mode 100755 index 000000000..33131bf84 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/index.html @@ -0,0 +1,119 @@ + + + + + Finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Finished

    +
    data class Finished<T>(val result: T) : InputReceiver.Status<T>
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(result: T)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val result: T
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/result.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/result.html new file mode 100755 index 000000000..7eed6558a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/-finished/result.html @@ -0,0 +1,76 @@ + + + + + result + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    result

    +
    +
    val result: T
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/index.html new file mode 100755 index 000000000..25683eec8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/-status/index.html @@ -0,0 +1,130 @@ + + + + + Status + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Status

    +
    sealed class Status<out T>

    Inheritors

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Finished<T>(val result: T) : InputReceiver.Status<T>
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/index.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/index.html new file mode 100755 index 000000000..d29d84690 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/index.html @@ -0,0 +1,153 @@ + + + + + InputReceiver + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    InputReceiver

    +
    interface InputReceiver<T>

    An object that can receive input events.

    Inheritors

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    sealed class Status<out T>
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val terminal: Terminal

    The terminal that this receiver is reading input from.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Receive an input event.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> InputReceiver<T>.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal): T

    Enter raw mode, read input from the terminal for this InputReceiver until it returns a result, then exit raw mode.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/receive-event.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/receive-event.html new file mode 100755 index 000000000..87c79068b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/receive-event.html @@ -0,0 +1,76 @@ + + + + + receiveEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveEvent

    +
    +

    Receive an input event.

    Return

    Status.Continue to continue receiving events, or Status.Finished to stop.

    Parameters

    event

    The input event to process

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-input-receiver/terminal.html b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/terminal.html new file mode 100755 index 000000000..875bf4340 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-input-receiver/terminal.html @@ -0,0 +1,76 @@ + + + + + terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    terminal

    +
    +
    abstract val terminal: Terminal

    The terminal that this receiver is reading input from.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/-interactive-select-list-builder.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/-interactive-select-list-builder.html new file mode 100755 index 000000000..03a6c9262 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/-interactive-select-list-builder.html @@ -0,0 +1,76 @@ + + + + + InteractiveSelectListBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    InteractiveSelectListBuilder

    +
    +
    constructor(terminal: Terminal)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/add-entry.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/add-entry.html new file mode 100755 index 000000000..27a015a0c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/add-entry.html @@ -0,0 +1,76 @@ + + + + + addEntry + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    addEntry

    +
    +
    fun addEntry(title: String, description: String, selected: Boolean = false): InteractiveSelectListBuilder
    fun addEntry(title: String, description: Widget? = null, selected: Boolean = false): InteractiveSelectListBuilder

    Add an item to the list of items to select from

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/clear-on-exit.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/clear-on-exit.html new file mode 100755 index 000000000..f77efd672 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/clear-on-exit.html @@ -0,0 +1,76 @@ + + + + + clearOnExit + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearOnExit

    +
    +

    If true, clear the list when the user submits the selections. If false, leave it on screen

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/create-multi-select-input-animation.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/create-multi-select-input-animation.html new file mode 100755 index 000000000..c10d07fa8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/create-multi-select-input-animation.html @@ -0,0 +1,76 @@ + + + + + createMultiSelectInputAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    createMultiSelectInputAnimation

    +
    +

    Run the select list in multi select mode.

    The result will be the selected item titles, or null if the user canceled the selection.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/create-single-select-input-animation.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/create-single-select-input-animation.html new file mode 100755 index 000000000..00f3ed2c0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/create-single-select-input-animation.html @@ -0,0 +1,76 @@ + + + + + createSingleSelectInputAnimation + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    createSingleSelectInputAnimation

    +
    +

    Run the select list in single select mode.

    The result will be the selected item title, or null if the user canceled the selection.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/cursor-marker.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/cursor-marker.html new file mode 100755 index 000000000..5b8688c0e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/cursor-marker.html @@ -0,0 +1,76 @@ + + + + + cursorMarker + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cursorMarker

    +
    +

    Set the marker to display where the cursor is located. Defaults to the theme string select.cursor

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-apply-filter.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-apply-filter.html new file mode 100755 index 000000000..0fb74d368 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-apply-filter.html @@ -0,0 +1,76 @@ + + + + + descApplyFilter + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descApplyFilter

    +
    +

    Set the description of the key to apply the filter when filtering in multi select mode

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-confirm.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-confirm.html new file mode 100755 index 000000000..6ffccc1a2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-confirm.html @@ -0,0 +1,76 @@ + + + + + descConfirm + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descConfirm

    +
    +

    Set the description of the key to submit the selection in multi select mode

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-exit-filter.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-exit-filter.html new file mode 100755 index 000000000..93e68a054 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-exit-filter.html @@ -0,0 +1,76 @@ + + + + + descExitFilter + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descExitFilter

    +
    +

    Set the description of the key to stop filtering the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-filter.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-filter.html new file mode 100755 index 000000000..dd974a549 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-filter.html @@ -0,0 +1,76 @@ + + + + + descFilter + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descFilter

    +
    +

    Set the description of the key to filter the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-next.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-next.html new file mode 100755 index 000000000..b8f082366 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-next.html @@ -0,0 +1,76 @@ + + + + + descNext + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descNext

    +
    +

    Set the description of the key to move the cursor down

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-prev.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-prev.html new file mode 100755 index 000000000..e6b7142fe --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-prev.html @@ -0,0 +1,76 @@ + + + + + descPrev + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descPrev

    +
    +

    Set the description of the key to move the cursor up

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-submit.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-submit.html new file mode 100755 index 000000000..a1830a1e6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-submit.html @@ -0,0 +1,76 @@ + + + + + descSubmit + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descSubmit

    +
    +

    Set the description of the key to submit the selection in single select mode

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-toggle.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-toggle.html new file mode 100755 index 000000000..719c4065e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/desc-toggle.html @@ -0,0 +1,76 @@ + + + + + descToggle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descToggle

    +
    +

    Set the description of the key to toggle the selection of an item in multi select mode

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/entries.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/entries.html new file mode 100755 index 000000000..95292f2f7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +
    @JvmName(name = "entriesString")
    fun entries(entries: Iterable<String>): InteractiveSelectListBuilder

    Set the list of items to select from

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/filterable.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/filterable.html new file mode 100755 index 000000000..223d24f47 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/filterable.html @@ -0,0 +1,76 @@ + + + + + filterable + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    filterable

    +
    +

    Set whether the list should be filterable

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/index.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/index.html new file mode 100755 index 000000000..4a4673729 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/index.html @@ -0,0 +1,569 @@ + + + + + InteractiveSelectListBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    InteractiveSelectListBuilder

    +

    Configure an interactive selection list.

    Run the selection with runSingleSelect or runMultiSelect. On JS and Wasm, where those methods aren't available, you can use createSingleSelectInputAnimation and createMultiSelectInputAnimation and feed them keyboard events manually.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(terminal: Terminal)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun addEntry(title: String, description: Widget? = null, selected: Boolean = false): InteractiveSelectListBuilder
    fun addEntry(title: String, description: String, selected: Boolean = false): InteractiveSelectListBuilder

    Add an item to the list of items to select from

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, clear the list when the user submits the selections. If false, leave it on screen

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Run the select list in multi select mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Run the select list in single select mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the marker to display where the cursor is located. Defaults to the theme string select.cursor

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to apply the filter when filtering in multi select mode

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to submit the selection in multi select mode

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to stop filtering the list

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to filter the list

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to move the cursor down

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to move the cursor up

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to submit the selection in single select mode

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the description of the key to toggle the selection of an item in multi select mode

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    @JvmName(name = "entriesString")
    fun entries(entries: Iterable<String>): InteractiveSelectListBuilder

    Set the list of items to select from

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set whether the list should be filterable

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the key to stop filtering the list

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the key to filter the list

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the key to move the cursor down

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the key to move the cursor up

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the key to submit the selection

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the key to toggle the selection of an item in multi select mode

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the maximum number of items that can be selected

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, only show the description of the highlighted item

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the marker to display for selected items. Defaults to the theme string select.selected

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the style to use to highlight the currently selected item. Defaults to the theme style select.selected

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether to show instructions at the bottom of the list

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the index of the item to start the cursor on

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the title to display above the list

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the marker to display for unselected items. Defaults to the theme string select.unselected

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the style to use for the marker of unselected items. Defaults to the theme style select.unselected-marker

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Set the style to use for the title of unselected items. Defaults to the theme style select.unselected-title

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-exit-filter.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-exit-filter.html new file mode 100755 index 000000000..e6f0380d9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-exit-filter.html @@ -0,0 +1,76 @@ + + + + + keyExitFilter + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    keyExitFilter

    +
    +

    Set the key to stop filtering the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-filter.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-filter.html new file mode 100755 index 000000000..833f7b518 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-filter.html @@ -0,0 +1,76 @@ + + + + + keyFilter + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    keyFilter

    +
    +

    Set the key to filter the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-next.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-next.html new file mode 100755 index 000000000..f422c2816 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-next.html @@ -0,0 +1,76 @@ + + + + + keyNext + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    keyNext

    +
    +

    Set the key to move the cursor down

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-prev.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-prev.html new file mode 100755 index 000000000..73e356441 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-prev.html @@ -0,0 +1,76 @@ + + + + + keyPrev + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    keyPrev

    +
    +

    Set the key to move the cursor up

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-submit.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-submit.html new file mode 100755 index 000000000..7b8d29691 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-submit.html @@ -0,0 +1,76 @@ + + + + + keySubmit + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    keySubmit

    +
    +

    Set the key to submit the selection

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-toggle.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-toggle.html new file mode 100755 index 000000000..b55b037ec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/key-toggle.html @@ -0,0 +1,76 @@ + + + + + keyToggle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    keyToggle

    +
    +

    Set the key to toggle the selection of an item in multi select mode

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/limit.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/limit.html new file mode 100755 index 000000000..7beffa9dc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/limit.html @@ -0,0 +1,76 @@ + + + + + limit + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    limit

    +
    +

    Set the maximum number of items that can be selected

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/only-show-active-description.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/only-show-active-description.html new file mode 100755 index 000000000..ea4c5d406 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/only-show-active-description.html @@ -0,0 +1,76 @@ + + + + + onlyShowActiveDescription + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    onlyShowActiveDescription

    +
    +

    If true, only show the description of the highlighted item

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/selected-marker.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/selected-marker.html new file mode 100755 index 000000000..40ea087a6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/selected-marker.html @@ -0,0 +1,76 @@ + + + + + selectedMarker + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    selectedMarker

    +
    +

    Set the marker to display for selected items. Defaults to the theme string select.selected

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/selected-style.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/selected-style.html new file mode 100755 index 000000000..85f3026be --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/selected-style.html @@ -0,0 +1,76 @@ + + + + + selectedStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    selectedStyle

    +
    +

    Set the style to use to highlight the currently selected item. Defaults to the theme style select.selected

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/show-instructions.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/show-instructions.html new file mode 100755 index 000000000..f183068c1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/show-instructions.html @@ -0,0 +1,76 @@ + + + + + showInstructions + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    showInstructions

    +
    +

    Whether to show instructions at the bottom of the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/starting-cursor-index.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/starting-cursor-index.html new file mode 100755 index 000000000..c9563a552 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/starting-cursor-index.html @@ -0,0 +1,76 @@ + + + + + startingCursorIndex + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    startingCursorIndex

    +
    +

    Set the index of the item to start the cursor on

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/title.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/title.html new file mode 100755 index 000000000..72bbe13a3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    title

    +
    +

    Set the title to display above the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-marker-style.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-marker-style.html new file mode 100755 index 000000000..97fdb8f8e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-marker-style.html @@ -0,0 +1,76 @@ + + + + + unselectedMarkerStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    unselectedMarkerStyle

    +
    +

    Set the style to use for the marker of unselected items. Defaults to the theme style select.unselected-marker

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-marker.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-marker.html new file mode 100755 index 000000000..7cec102d4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-marker.html @@ -0,0 +1,76 @@ + + + + + unselectedMarker + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    unselectedMarker

    +
    +

    Set the marker to display for unselected items. Defaults to the theme string select.unselected

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-title-style.html b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-title-style.html new file mode 100755 index 000000000..dac29d7c7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-interactive-select-list-builder/unselected-title-style.html @@ -0,0 +1,76 @@ + + + + + unselectedTitleStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    unselectedTitleStyle

    +
    +

    Set the style to use for the title of unselected items. Defaults to the theme style select.unselected-title

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/-keyboard-event.html b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/-keyboard-event.html new file mode 100755 index 000000000..a82c6a3c6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/-keyboard-event.html @@ -0,0 +1,76 @@ + + + + + KeyboardEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    KeyboardEvent

    +
    +
    constructor(key: String, ctrl: Boolean = false, alt: Boolean = false, shift: Boolean = false)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/alt.html b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/alt.html new file mode 100755 index 000000000..bdd61fdaa --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/alt.html @@ -0,0 +1,76 @@ + + + + + alt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    alt

    +
    +
    val alt: Boolean = false

    Whether the Alt key (Option ⌥ on macOS) is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/ctrl.html b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/ctrl.html new file mode 100755 index 000000000..9449ddba1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/ctrl.html @@ -0,0 +1,76 @@ + + + + + ctrl + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ctrl

    +
    +
    val ctrl: Boolean = false

    Whether the Control key is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/index.html b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/index.html new file mode 100755 index 000000000..3b3852be9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/index.html @@ -0,0 +1,179 @@ + + + + + KeyboardEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    KeyboardEvent

    +
    data class KeyboardEvent(val key: String, val ctrl: Boolean = false, val alt: Boolean = false, val shift: Boolean = false) : InputEvent

    An event representing a single key press, including modifiers keys.

    This class uses the same format as the web KeyboardEvent.

    Keep in mind that the not all modifier combinations or special keys are reported by all terminals.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(key: String, ctrl: Boolean = false, alt: Boolean = false, shift: Boolean = false)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val alt: Boolean = false

    Whether the Alt key (Option ⌥ on macOS) is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ctrl: Boolean = false

    Whether the Control key is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether this event represents a Ctrl+C key press.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val key: String

    A string describing the key pressed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val shift: Boolean = false

    Whether the Shift key is pressed

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/key.html b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/key.html new file mode 100755 index 000000000..124056123 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/key.html @@ -0,0 +1,76 @@ + + + + + key + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    key

    +
    +
    val key: String

    A string describing the key pressed.

    • If the key is a printable character, this will be the character itself.

    • If the key is a special key, this will be a string describing the key, like "ArrowLeft". The full list of possible values is available at MDN, but not all terminals will report all keys.

    • If the key cannot be identified, the value is "Unidentified".

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/shift.html b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/shift.html new file mode 100755 index 000000000..4f712fd6b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-keyboard-event/shift.html @@ -0,0 +1,76 @@ + + + + + shift + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    shift

    +
    +
    val shift: Boolean = false

    Whether the Shift key is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/-mouse-event.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/-mouse-event.html new file mode 100755 index 000000000..9477b4244 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/-mouse-event.html @@ -0,0 +1,76 @@ + + + + + MouseEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MouseEvent

    +
    +
    constructor(x: Int, y: Int, left: Boolean = false, right: Boolean = false, middle: Boolean = false, mouse4: Boolean = false, mouse5: Boolean = false, wheelUp: Boolean = false, wheelDown: Boolean = false, wheelLeft: Boolean = false, wheelRight: Boolean = false, ctrl: Boolean = false, alt: Boolean = false, shift: Boolean = false)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/alt.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/alt.html new file mode 100755 index 000000000..c7af8a7cb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/alt.html @@ -0,0 +1,76 @@ + + + + + alt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    alt

    +
    +
    val alt: Boolean = false

    true if the Alt key (Option ⌥ on macOS) is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/ctrl.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/ctrl.html new file mode 100755 index 000000000..a273288c5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/ctrl.html @@ -0,0 +1,76 @@ + + + + + ctrl + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ctrl

    +
    +
    val ctrl: Boolean = false

    true if the Control key is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/index.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/index.html new file mode 100755 index 000000000..9cf1409cd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/index.html @@ -0,0 +1,314 @@ + + + + + MouseEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MouseEvent

    +
    data class MouseEvent(val x: Int, val y: Int, val left: Boolean = false, val right: Boolean = false, val middle: Boolean = false, val mouse4: Boolean = false, val mouse5: Boolean = false, val wheelUp: Boolean = false, val wheelDown: Boolean = false, val wheelLeft: Boolean = false, val wheelRight: Boolean = false, val ctrl: Boolean = false, val alt: Boolean = false, val shift: Boolean = false) : InputEvent

    An event representing a single mouse event.

    This includes button press, release, and movement events.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(x: Int, y: Int, left: Boolean = false, right: Boolean = false, middle: Boolean = false, mouse4: Boolean = false, mouse5: Boolean = false, wheelUp: Boolean = false, wheelDown: Boolean = false, wheelLeft: Boolean = false, wheelRight: Boolean = false, ctrl: Boolean = false, alt: Boolean = false, shift: Boolean = false)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val alt: Boolean = false

    true if the Alt key (Option ⌥ on macOS) is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ctrl: Boolean = false

    true if the Control key is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val left: Boolean = false

    true if the left mouse button is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val middle: Boolean = false

    true if the middle mouse button (usually clicking the mouse wheel) is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val mouse4: Boolean = false

    true if the fourth mouse button is pressed. This is often the "browse forward" button, and isn't reported on all platforms.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val mouse5: Boolean = false

    true if the fifth mouse button is pressed. This is often the "browse backward" button, and isn't reported on all platforms.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val right: Boolean = false

    true if the right mouse button is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val shift: Boolean = false

    true if the Shift key is pressed

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val wheelDown: Boolean = false

    true if the mouse wheel moved down (towards the user).

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val wheelLeft: Boolean = false

    true if the horizontal mouse wheel moved left. This is not reported on all platforms.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val wheelRight: Boolean = false

    true if the horizontal mouse wheel moved right. This is not reported on all platforms.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val wheelUp: Boolean = false

    true if the mouse wheel moved up (away from the user).

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val x: Int

    The x coordinate of the mouse event, where 0 is the leftmost column.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val y: Int

    The y coordinate of the mouse event, where 0 is the top row.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/left.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/left.html new file mode 100755 index 000000000..86adfb883 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/left.html @@ -0,0 +1,76 @@ + + + + + left + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    left

    +
    +
    val left: Boolean = false

    true if the left mouse button is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/middle.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/middle.html new file mode 100755 index 000000000..6c68cba0c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/middle.html @@ -0,0 +1,76 @@ + + + + + middle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    middle

    +
    +
    val middle: Boolean = false

    true if the middle mouse button (usually clicking the mouse wheel) is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/mouse4.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/mouse4.html new file mode 100755 index 000000000..ed3352b79 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/mouse4.html @@ -0,0 +1,76 @@ + + + + + mouse4 + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mouse4

    +
    +
    val mouse4: Boolean = false

    true if the fourth mouse button is pressed. This is often the "browse forward" button, and isn't reported on all platforms.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/mouse5.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/mouse5.html new file mode 100755 index 000000000..bdcc0c83f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/mouse5.html @@ -0,0 +1,76 @@ + + + + + mouse5 + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mouse5

    +
    +
    val mouse5: Boolean = false

    true if the fifth mouse button is pressed. This is often the "browse backward" button, and isn't reported on all platforms.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/right.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/right.html new file mode 100755 index 000000000..9d9237404 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/right.html @@ -0,0 +1,76 @@ + + + + + right + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    right

    +
    +
    val right: Boolean = false

    true if the right mouse button is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/shift.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/shift.html new file mode 100755 index 000000000..7e91ad797 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/shift.html @@ -0,0 +1,76 @@ + + + + + shift + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    shift

    +
    +
    val shift: Boolean = false

    true if the Shift key is pressed

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-down.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-down.html new file mode 100755 index 000000000..0375bfcc5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-down.html @@ -0,0 +1,76 @@ + + + + + wheelDown + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    wheelDown

    +
    +
    val wheelDown: Boolean = false

    true if the mouse wheel moved down (towards the user).

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-left.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-left.html new file mode 100755 index 000000000..de953cce1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-left.html @@ -0,0 +1,76 @@ + + + + + wheelLeft + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    wheelLeft

    +
    +
    val wheelLeft: Boolean = false

    true if the horizontal mouse wheel moved left. This is not reported on all platforms.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-right.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-right.html new file mode 100755 index 000000000..d0f08fea8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-right.html @@ -0,0 +1,76 @@ + + + + + wheelRight + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    wheelRight

    +
    +
    val wheelRight: Boolean = false

    true if the horizontal mouse wheel moved right. This is not reported on all platforms.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-up.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-up.html new file mode 100755 index 000000000..82e20b024 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/wheel-up.html @@ -0,0 +1,76 @@ + + + + + wheelUp + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    wheelUp

    +
    +
    val wheelUp: Boolean = false

    true if the mouse wheel moved up (away from the user).

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/x.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/x.html new file mode 100755 index 000000000..f80dd8e6f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/x.html @@ -0,0 +1,76 @@ + + + + + x + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    x

    +
    +
    val x: Int

    The x coordinate of the mouse event, where 0 is the leftmost column.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-event/y.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/y.html new file mode 100755 index 000000000..74bc052be --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-event/y.html @@ -0,0 +1,76 @@ + + + + + y + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    y

    +
    +
    val y: Int

    The y coordinate of the mouse event, where 0 is the top row.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-any/index.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-any/index.html new file mode 100755 index 000000000..d2388621f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-any/index.html @@ -0,0 +1,115 @@ + + + + + Any + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Any

    +

    Any-event mode is the same as button-event mode, except that all motion events are reported, even if no mouse button is down.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-button/index.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-button/index.html new file mode 100755 index 000000000..2d182804e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-button/index.html @@ -0,0 +1,115 @@ + + + + + Button + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Button

    +

    Button-event tracking is essentially the same as normal tracking, but xterm also reports button-motion events. Motion events are reported only if the mouse pointer has moved to a different character cell.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-normal/index.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-normal/index.html new file mode 100755 index 000000000..485fc07f5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-normal/index.html @@ -0,0 +1,115 @@ + + + + + Normal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Normal

    +

    Normal tracking mode sends an escape sequence on both button press and release. Modifier key (shift, ctrl, meta) information is also sent.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-off/index.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-off/index.html new file mode 100755 index 000000000..59c8967db --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/-off/index.html @@ -0,0 +1,115 @@ + + + + + Off + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Off

    +

    Disable mouse tracking

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/entries.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/entries.html new file mode 100755 index 000000000..9e2dcb717 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/index.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/index.html new file mode 100755 index 000000000..0f4fc1675 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/index.html @@ -0,0 +1,228 @@ + + + + + MouseTracking + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MouseTracking

    + +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Disable mouse tracking

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Normal tracking mode sends an escape sequence on both button press and release. Modifier key (shift, ctrl, meta) information is also sent.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Button-event tracking is essentially the same as normal tracking, but xterm also reports button-motion events. Motion events are reported only if the mouse pointer has moved to a different character cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Any-event mode is the same as button-event mode, except that all motion events are reported, even if no mouse button is down.

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/value-of.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/value-of.html new file mode 100755 index 000000000..e7b753acd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/values.html b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/values.html new file mode 100755 index 000000000..43aa94462 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-mouse-tracking/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/index.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/index.html new file mode 100755 index 000000000..7ae2cb683 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/index.html @@ -0,0 +1,190 @@ + + + + + RawModeScope + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    RawModeScope

    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    expect open override fun close()
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readEvent(timeout: Duration = Duration.INFINITE): InputEvent

    Read a single input event from the terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readEventOrNull(timeout: Duration = Duration.INFINITE): InputEvent?

    Read a single input event from the terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readKey(timeout: Duration = Duration.INFINITE): KeyboardEvent

    Read a single keyboard event from the terminal, ignoring any mouse events that arrive first.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readKeyOrNull(timeout: Duration = Duration.INFINITE): KeyboardEvent?

    Read a single keyboard event from the terminal, ignoring any mouse events that arrive first.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readMouse(timeout: Duration = Duration.INFINITE): MouseEvent

    Read a single mouse event from the terminal, ignoring any keyboard events that arrive first.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readMouseOrNull(timeout: Duration = Duration.INFINITE): MouseEvent?

    Read a single mouse event from the terminal, ignoring any keyboard events that arrive first.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-event-or-null.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-event-or-null.html new file mode 100755 index 000000000..0938be1c5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-event-or-null.html @@ -0,0 +1,76 @@ + + + + + readEventOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readEventOrNull

    +
    +
    fun readEventOrNull(timeout: Duration = Duration.INFINITE): InputEvent?

    Read a single input event from the terminal.

    Return

    The event, or null if no event was received before the timeout.

    Parameters

    timeout

    The maximum amount of time to wait for an event.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-event.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-event.html new file mode 100755 index 000000000..2cddf4848 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-event.html @@ -0,0 +1,76 @@ + + + + + readEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readEvent

    +
    +
    fun readEvent(timeout: Duration = Duration.INFINITE): InputEvent

    Read a single input event from the terminal.

    Parameters

    timeout

    The maximum amount of time to wait for an event.

    Throws

    if no event is received before the timeout, or input cannot be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-key-or-null.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-key-or-null.html new file mode 100755 index 000000000..efc7b3b6d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-key-or-null.html @@ -0,0 +1,76 @@ + + + + + readKeyOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readKeyOrNull

    +
    +
    fun readKeyOrNull(timeout: Duration = Duration.INFINITE): KeyboardEvent?

    Read a single keyboard event from the terminal, ignoring any mouse events that arrive first.

    Return

    The event, or null if no event was received before the timeout.

    Parameters

    timeout

    The maximum amount of time to wait for an event.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-key.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-key.html new file mode 100755 index 000000000..de38b6c46 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-key.html @@ -0,0 +1,76 @@ + + + + + readKey + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readKey

    +
    +
    fun readKey(timeout: Duration = Duration.INFINITE): KeyboardEvent

    Read a single keyboard event from the terminal, ignoring any mouse events that arrive first.

    Parameters

    timeout

    The maximum amount of time to wait for an event.

    Throws

    if no event is received before the timeout, or input cannot be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-mouse-or-null.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-mouse-or-null.html new file mode 100755 index 000000000..7ca501f1f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-mouse-or-null.html @@ -0,0 +1,76 @@ + + + + + readMouseOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readMouseOrNull

    +
    +
    fun readMouseOrNull(timeout: Duration = Duration.INFINITE): MouseEvent?

    Read a single mouse event from the terminal, ignoring any keyboard events that arrive first.

    Return

    The event, or null if no event was received before the timeout.

    Parameters

    timeout

    The maximum amount of time to wait for an event.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-mouse.html b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-mouse.html new file mode 100755 index 000000000..23c646248 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/-raw-mode-scope/read-mouse.html @@ -0,0 +1,76 @@ + + + + + readMouse + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readMouse

    +
    +
    fun readMouse(timeout: Duration = Duration.INFINITE): MouseEvent

    Read a single mouse event from the terminal, ignoring any keyboard events that arrive first.

    Parameters

    timeout

    The maximum amount of time to wait for an event.

    Throws

    if no event is received before the timeout, or input cannot be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/enter-raw-mode-or-null.html b/api/mordant/com.github.ajalt.mordant.input/enter-raw-mode-or-null.html new file mode 100755 index 000000000..2e2df592c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/enter-raw-mode-or-null.html @@ -0,0 +1,76 @@ + + + + + enterRawModeOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    enterRawModeOrNull

    +
    +
    fun Terminal.enterRawModeOrNull(mouseTracking: MouseTracking = MouseTracking.Off): RawModeScope?

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual input events.

    Return

    A scope that will restore the terminal to its previous state when closed, or null if the terminal is not interactive.

    Parameters

    mouseTracking

    What type of mouse events to listen for.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/enter-raw-mode.html b/api/mordant/com.github.ajalt.mordant.input/enter-raw-mode.html new file mode 100755 index 000000000..50bd5e586 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/enter-raw-mode.html @@ -0,0 +1,76 @@ + + + + + enterRawMode + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    enterRawMode

    +
    +
    fun Terminal.enterRawMode(mouseTracking: MouseTracking = MouseTracking.Off): RawModeScope

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual input events.

    Return

    A scope that will restore the terminal to its previous state when closed

    Parameters

    mouseTracking

    What type of mouse events to listen for.

    Throws

    if the terminal is not interactive or raw mode cannot be entered.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/index.html b/api/mordant/com.github.ajalt.mordant.input/index.html new file mode 100755 index 000000000..575b466f1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/index.html @@ -0,0 +1,332 @@ + + + + + com.github.ajalt.mordant.input + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    sealed class InputEvent
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface InputReceiver<T>

    An object that can receive input events.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Configure an interactive selection list.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class KeyboardEvent(val key: String, val ctrl: Boolean = false, val alt: Boolean = false, val shift: Boolean = false) : InputEvent

    An event representing a single key press, including modifiers keys.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class MouseEvent(val x: Int, val y: Int, val left: Boolean = false, val right: Boolean = false, val middle: Boolean = false, val mouse4: Boolean = false, val mouse5: Boolean = false, val wheelUp: Boolean = false, val wheelDown: Boolean = false, val wheelLeft: Boolean = false, val wheelRight: Boolean = false, val ctrl: Boolean = false, val alt: Boolean = false, val shift: Boolean = false) : InputEvent

    An event representing a single mouse event.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether this event represents a Ctrl+C key press.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.enterRawMode(mouseTracking: MouseTracking = MouseTracking.Off): RawModeScope

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual input events.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.enterRawModeOrNull(mouseTracking: MouseTracking = MouseTracking.Off): RawModeScope?

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual input events.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    @JvmName(name = "interactiveMultiSelectListEntry")
    fun Terminal.interactiveMultiSelectList(entries: Iterable<SelectList.Entry>, title: String = ""): List<String>?
    @JvmName(name = "interactiveMultiSelectListString")
    fun Terminal.interactiveMultiSelectList(entries: Iterable<String>, title: String = ""): List<String>?

    Display a list of items and allow the user to select zero or more with the arrow keys and enter.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    @JvmName(name = "interactiveSelectListEntry")
    fun Terminal.interactiveSelectList(entries: Iterable<SelectList.Entry>, title: String = ""): String?
    @JvmName(name = "interactiveSelectListString")
    fun Terminal.interactiveSelectList(entries: Iterable<String>, title: String = ""): String?

    Display a list of items and allow the user to select one with the arrow keys and enter.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> InputReceiver<T>.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal): T

    Enter raw mode, read input from the terminal for this InputReceiver until it returns a result, then exit raw mode.

    inline fun <T> Terminal.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal, crossinline block: (InputEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any InputEvents to block until it returns a result, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.receiveKeyEvents(crossinline block: (KeyboardEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any KeyboardEvents to block until it returns a result, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.receiveMouseEvents(mouseTracking: MouseTracking = MouseTracking.Normal, crossinline block: (MouseEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any MouseEvents to block until it returns a result, then exit raw mode.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/interactive-multi-select-list.html b/api/mordant/com.github.ajalt.mordant.input/interactive-multi-select-list.html new file mode 100755 index 000000000..af98f12df --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/interactive-multi-select-list.html @@ -0,0 +1,76 @@ + + + + + interactiveMultiSelectList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    interactiveMultiSelectList

    +
    +

    Display a list of items and allow the user to select zero or more with the arrow keys and enter.

    Return

    the selected item titles, or null if the user canceled the selection


    @JvmName(name = "interactiveMultiSelectListEntry")
    fun Terminal.interactiveMultiSelectList(entries: Iterable<SelectList.Entry>, title: String = ""): List<String>?
    @JvmName(name = "interactiveMultiSelectListString")
    fun Terminal.interactiveMultiSelectList(entries: Iterable<String>, title: String = ""): List<String>?

    Display a list of items and allow the user to select zero or more with the arrow keys and enter.

    Return

    the selected item titles, or null if the user canceled the selection

    Parameters

    entries

    The list of items to select from

    title

    The title to display above the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/interactive-select-list.html b/api/mordant/com.github.ajalt.mordant.input/interactive-select-list.html new file mode 100755 index 000000000..912f59f3b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/interactive-select-list.html @@ -0,0 +1,76 @@ + + + + + interactiveSelectList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    interactiveSelectList

    +
    +

    Display a list of items and allow the user to select one with the arrow keys and enter.

    Return

    the selected item title, or null if the user canceled the selection


    @JvmName(name = "interactiveSelectListString")
    fun Terminal.interactiveSelectList(entries: Iterable<String>, title: String = ""): String?
    @JvmName(name = "interactiveSelectListEntry")
    fun Terminal.interactiveSelectList(entries: Iterable<SelectList.Entry>, title: String = ""): String?

    Display a list of items and allow the user to select one with the arrow keys and enter.

    Return

    the selected item title, or null if the user canceled the selection

    Parameters

    entries

    The list of items to select from

    title

    The title to display above the list

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/is-ctrl-c.html b/api/mordant/com.github.ajalt.mordant.input/is-ctrl-c.html new file mode 100755 index 000000000..72d0a10b0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/is-ctrl-c.html @@ -0,0 +1,76 @@ + + + + + isCtrlC + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isCtrlC

    +
    +

    Whether this event represents a Ctrl+C key press.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/receive-events.html b/api/mordant/com.github.ajalt.mordant.input/receive-events.html new file mode 100755 index 000000000..21ccba34f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/receive-events.html @@ -0,0 +1,76 @@ + + + + + receiveEvents + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveEvents

    +
    +
    fun <T> InputReceiver<T>.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal): T

    Enter raw mode, read input from the terminal for this InputReceiver until it returns a result, then exit raw mode.

    Return

    the result of the completed receiver.

    Parameters

    mouseTracking

    The type of mouse tracking to enable.

    Throws

    if the terminal is not interactive or the input could not be read.


    inline fun <T> Terminal.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal, crossinline block: (InputEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any InputEvents to block until it returns a result, then exit raw mode.

    Return

    the result of the completed receiver.

    Parameters

    mouseTracking

    The type of mouse tracking to enable.

    Throws

    if the terminal is not interactive or the input could not be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/receive-key-events.html b/api/mordant/com.github.ajalt.mordant.input/receive-key-events.html new file mode 100755 index 000000000..60fb439cf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/receive-key-events.html @@ -0,0 +1,76 @@ + + + + + receiveKeyEvents + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveKeyEvents

    +
    +
    inline fun <T> Terminal.receiveKeyEvents(crossinline block: (KeyboardEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any KeyboardEvents to block until it returns a result, then exit raw mode.

    Return

    the result of the completed receiver.

    Throws

    if the terminal is not interactive or the input could not be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.input/receive-mouse-events.html b/api/mordant/com.github.ajalt.mordant.input/receive-mouse-events.html new file mode 100755 index 000000000..4a4b5af78 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.input/receive-mouse-events.html @@ -0,0 +1,76 @@ + + + + + receiveMouseEvents + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    receiveMouseEvents

    +
    +
    inline fun <T> Terminal.receiveMouseEvents(mouseTracking: MouseTracking = MouseTracking.Normal, crossinline block: (MouseEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any MouseEvents to block until it returns a result, then exit raw mode.

    Return

    the result of the completed receiver.

    Parameters

    mouseTracking

    The type of mouse tracking to enable.

    Throws

    if the terminal is not interactive or the input could not be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/exit-process.html b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/exit-process.html new file mode 100755 index 000000000..1c313b48d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/exit-process.html @@ -0,0 +1,76 @@ + + + + + exitProcess + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    exitProcess

    +
    +
    fun exitProcess(status: Int)

    Immediately exit the process with the given status code.

    On browsers, where it's not possible to exit the process, this function is a no-op.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/index.html b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/index.html new file mode 100755 index 000000000..c3270e88f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/index.html @@ -0,0 +1,130 @@ + + + + + MultiplatformSystem + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MultiplatformSystem

    +

    Utility functions useful for multiplatform command line apps interacting with the system.

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun exitProcess(status: Int)

    Immediately exit the process with the given status code.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Get the value of an environment variable.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Read the contents of a file as a UTF-8 string.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/read-environment-variable.html b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/read-environment-variable.html new file mode 100755 index 000000000..534a46551 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/read-environment-variable.html @@ -0,0 +1,76 @@ + + + + + readEnvironmentVariable + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readEnvironmentVariable

    +
    +

    Get the value of an environment variable.

    If the variable is not set, this function returns null.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/read-file-as-utf8.html b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/read-file-as-utf8.html new file mode 100755 index 000000000..aefb16160 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.platform/-multiplatform-system/read-file-as-utf8.html @@ -0,0 +1,76 @@ + + + + + readFileAsUtf8 + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readFileAsUtf8

    +
    +

    Read the contents of a file as a UTF-8 string.

    Return

    The file contents decoded as a UTF-8 string, or null if the file could not be read.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.platform/index.html b/api/mordant/com.github.ajalt.mordant.platform/index.html new file mode 100755 index 000000000..7520b08a5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.platform/index.html @@ -0,0 +1,99 @@ + + + + + com.github.ajalt.mordant.platform + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Utility functions useful for multiplatform command line apps interacting with the system.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-a-n-s-i16/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-a-n-s-i16/index.html new file mode 100755 index 000000000..f87835ccf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-a-n-s-i16/index.html @@ -0,0 +1,115 @@ + + + + + ANSI16 + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ANSI16

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-a-n-s-i256/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-a-n-s-i256/index.html new file mode 100755 index 000000000..3b7b37ad7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-a-n-s-i256/index.html @@ -0,0 +1,115 @@ + + + + + ANSI256 + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ANSI256

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-n-o-n-e/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-n-o-n-e/index.html new file mode 100755 index 000000000..f6d3f1acb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-n-o-n-e/index.html @@ -0,0 +1,115 @@ + + + + + NONE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NONE

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-t-r-u-e-c-o-l-o-r/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-t-r-u-e-c-o-l-o-r/index.html new file mode 100755 index 000000000..9f8512e09 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/-t-r-u-e-c-o-l-o-r/index.html @@ -0,0 +1,115 @@ + + + + + TRUECOLOR + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TRUECOLOR

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/entries.html new file mode 100755 index 000000000..99e1d8f3e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/index.html new file mode 100755 index 000000000..e4399d7c2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/index.html @@ -0,0 +1,228 @@ + + + + + AnsiLevel + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    AnsiLevel

    + +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun valueOf(value: String): AnsiLevel

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/value-of.html new file mode 100755 index 000000000..9f45aa5a0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +
    fun valueOf(value: String): AnsiLevel

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/values.html new file mode 100755 index 000000000..113cbb4e4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-ansi-level/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/-border-type-section.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/-border-type-section.html new file mode 100755 index 000000000..508ba8f2c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/-border-type-section.html @@ -0,0 +1,76 @@ + + + + + BorderTypeSection + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BorderTypeSection

    +
    +
    constructor(corners: String)
    constructor(es: String, esw: String, sw: String, nes: String, nesw: String, nsw: String, ne: String, new: String, nw: String, ew: String, ns: String, s: String, n: String, w: String, e: String)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/e.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/e.html new file mode 100755 index 000000000..ea12fdf6f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/e.html @@ -0,0 +1,76 @@ + + + + + e + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    e

    +
    +
    val e: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/es.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/es.html new file mode 100755 index 000000000..b74bec7df --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/es.html @@ -0,0 +1,76 @@ + + + + + es + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    es

    +
    +
    val es: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/esw.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/esw.html new file mode 100755 index 000000000..60351d68b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/esw.html @@ -0,0 +1,76 @@ + + + + + esw + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    esw

    +
    +
    val esw: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ew.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ew.html new file mode 100755 index 000000000..b7fe07cb7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ew.html @@ -0,0 +1,76 @@ + + + + + ew + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ew

    +
    +
    val ew: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/get-corner.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/get-corner.html new file mode 100755 index 000000000..8b3bf0fb4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/get-corner.html @@ -0,0 +1,76 @@ + + + + + getCorner + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    getCorner

    +
    +
    fun getCorner(n: Boolean, e: Boolean, s: Boolean, w: Boolean, textStyle: TextStyle = DEFAULT_STYLE): Span
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/index.html new file mode 100755 index 000000000..80322e2af --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/index.html @@ -0,0 +1,348 @@ + + + + + BorderTypeSection + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BorderTypeSection

    +
    class BorderTypeSection(val es: String, val esw: String, val sw: String, val nes: String, val nesw: String, val nsw: String, val ne: String, val new: String, val nw: String, val ew: String, val ns: String, val s: String, val n: String, val w: String, val e: String)

    Characters to use for one section of a BorderType

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(corners: String)
    constructor(es: String, esw: String, sw: String, nes: String, nesw: String, nsw: String, ne: String, new: String, nw: String, ew: String, ns: String, s: String, n: String, w: String, e: String)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val e: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val es: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val esw: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ew: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val n: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ne: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val nes: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val new: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ns: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val nsw: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val nw: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val s: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val sw: String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val w: String
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun getCorner(n: Boolean, e: Boolean, s: Boolean, w: Boolean, textStyle: TextStyle = DEFAULT_STYLE): Span
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/n.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/n.html new file mode 100755 index 000000000..e416e51cb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/n.html @@ -0,0 +1,76 @@ + + + + + n + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    n

    +
    +
    val n: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ne.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ne.html new file mode 100755 index 000000000..e019604c9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ne.html @@ -0,0 +1,76 @@ + + + + + ne + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ne

    +
    +
    val ne: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nes.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nes.html new file mode 100755 index 000000000..bc45b6f3d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nes.html @@ -0,0 +1,76 @@ + + + + + nes + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    nes

    +
    +
    val nes: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nesw.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nesw.html new file mode 100755 index 000000000..755b26c6a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nesw.html @@ -0,0 +1,76 @@ + + + + + nesw + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    nesw

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/new.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/new.html new file mode 100755 index 000000000..fdd6a3a22 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/new.html @@ -0,0 +1,76 @@ + + + + + new + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    new

    +
    +
    val new: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ns.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ns.html new file mode 100755 index 000000000..181cdc1c5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/ns.html @@ -0,0 +1,76 @@ + + + + + ns + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ns

    +
    +
    val ns: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nsw.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nsw.html new file mode 100755 index 000000000..46296f19b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nsw.html @@ -0,0 +1,76 @@ + + + + + nsw + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    nsw

    +
    +
    val nsw: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nw.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nw.html new file mode 100755 index 000000000..548c834a9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/nw.html @@ -0,0 +1,76 @@ + + + + + nw + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    nw

    +
    +
    val nw: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/s.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/s.html new file mode 100755 index 000000000..0fcc89dee --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/s.html @@ -0,0 +1,76 @@ + + + + + s + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    s

    +
    +
    val s: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/sw.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/sw.html new file mode 100755 index 000000000..2858dd54d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/sw.html @@ -0,0 +1,76 @@ + + + + + sw + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    sw

    +
    +
    val sw: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/w.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/w.html new file mode 100755 index 000000000..6f7d71ad1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type-section/w.html @@ -0,0 +1,76 @@ + + + + + w + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    w

    +
    +
    val w: String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-border-type.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-border-type.html new file mode 100755 index 000000000..f58c8a9ea --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-border-type.html @@ -0,0 +1,76 @@ + + + + + BorderType + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BorderType

    +
    +
    constructor(head: BorderTypeSection, headBottom: BorderTypeSection, body: BorderTypeSection, bodyBottom: BorderTypeSection, foot: BorderTypeSection)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-a-s-c-i-i.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-a-s-c-i-i.html new file mode 100755 index 000000000..379c5681c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-a-s-c-i-i.html @@ -0,0 +1,76 @@ + + + + + ASCII + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ASCII

    +
    +

    Example

    +--+--+
    | | |
    +--+--+
    | | |
    +--+--+
    | | |
    +--+--+
    | | |
    +--+--+
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-a-s-c-i-i_-d-o-u-b-l-e_-s-e-c-t-i-o-n_-s-e-p-a-r-a-t-o-r.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-a-s-c-i-i_-d-o-u-b-l-e_-s-e-c-t-i-o-n_-s-e-p-a-r-a-t-o-r.html new file mode 100755 index 000000000..fc6a638a5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-a-s-c-i-i_-d-o-u-b-l-e_-s-e-c-t-i-o-n_-s-e-p-a-r-a-t-o-r.html @@ -0,0 +1,76 @@ + + + + + ASCII_DOUBLE_SECTION_SEPARATOR + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ASCII_DOUBLE_SECTION_SEPARATOR

    +
    +

    Example

    +--+--+
    | | |
    +==+==+
    | | |
    +--+--+
    | | |
    +==+==+
    | | |
    +--+--+
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-b-l-a-n-k.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-b-l-a-n-k.html new file mode 100755 index 000000000..7a737a276 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-b-l-a-n-k.html @@ -0,0 +1,76 @@ + + + + + BLANK + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BLANK

    +
    +

    Whitespace as borders

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-d-o-u-b-l-e.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-d-o-u-b-l-e.html new file mode 100755 index 000000000..e32d11117 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-d-o-u-b-l-e.html @@ -0,0 +1,76 @@ + + + + + DOUBLE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    DOUBLE

    +
    +

    Example

    ╔══╦══╗
    ║ ║ ║
    ╠══╬══╣
    ║ ║ ║
    ╠══╬══╣
    ║ ║ ║
    ╠══╬══╣
    ║ ║ ║
    ╚══╩══╝
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-h-e-a-v-y.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-h-e-a-v-y.html new file mode 100755 index 000000000..bb4e5128d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-h-e-a-v-y.html @@ -0,0 +1,76 @@ + + + + + HEAVY + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    HEAVY

    +
    +

    Example

    ┏━━┳━━┓
    ┃ ┃ ┃
    ┣━━╋━━┫
    ┃ ┃ ┃
    ┣━━╋━━┫
    ┃ ┃ ┃
    ┣━━╋━━┫
    ┃ ┃ ┃
    ┗━━┻━━┛
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-h-e-a-v-y_-h-e-a-d_-f-o-o-t.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-h-e-a-v-y_-h-e-a-d_-f-o-o-t.html new file mode 100755 index 000000000..7d728c44b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-h-e-a-v-y_-h-e-a-d_-f-o-o-t.html @@ -0,0 +1,76 @@ + + + + + HEAVY_HEAD_FOOT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    HEAVY_HEAD_FOOT

    +
    +

    Example

    ┏━━┳━━┓
    ┃ ┃ ┃
    ┡━━╇━━┩
    │ │ │
    ├──┼──┤
    │ │ │
    ┢━━╈━━┪
    ┃ ┃ ┃
    ┗━━┻━━┛
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-r-o-u-n-d-e-d.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-r-o-u-n-d-e-d.html new file mode 100755 index 000000000..b83e5c7f3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-r-o-u-n-d-e-d.html @@ -0,0 +1,76 @@ + + + + + ROUNDED + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ROUNDED

    +
    +

    Example

    ╭──┬──╮
    │ │ │
    ├──┼──┤
    │ │ │
    ├──┼──┤
    │ │ │
    ├──┼──┤
    │ │ │
    ╰──┴──╯
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-s-q-u-a-r-e.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-s-q-u-a-r-e.html new file mode 100755 index 000000000..8a027c026 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-s-q-u-a-r-e.html @@ -0,0 +1,76 @@ + + + + + SQUARE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    SQUARE

    +
    +

    Example

    ┌──┬──┐
    │ │ │
    ├──┼──┤
    │ │ │
    ├──┼──┤
    │ │ │
    ├──┼──┤
    │ │ │
    └──┴──┘
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-s-q-u-a-r-e_-d-o-u-b-l-e_-s-e-c-t-i-o-n_-s-e-p-a-r-a-t-o-r.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-s-q-u-a-r-e_-d-o-u-b-l-e_-s-e-c-t-i-o-n_-s-e-p-a-r-a-t-o-r.html new file mode 100755 index 000000000..e7090dbc1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/-s-q-u-a-r-e_-d-o-u-b-l-e_-s-e-c-t-i-o-n_-s-e-p-a-r-a-t-o-r.html @@ -0,0 +1,76 @@ + + + + + SQUARE_DOUBLE_SECTION_SEPARATOR + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    SQUARE_DOUBLE_SECTION_SEPARATOR

    +
    +

    Example

    ┌──┬──┐
    │ │ │
    ╞══╪══╡
    │ │ │
    ├──┼──┤
    │ │ │
    ╞══╪══╡
    │ │ │
    └──┴──┘
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/build.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/build.html new file mode 100755 index 000000000..c3a54e135 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/build.html @@ -0,0 +1,76 @@ + + + + + build + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    build

    +
    +
    fun build(head: String, headBottom: String = head, body: String = head, bodyBottom: String = body, foot: String = body): BorderType
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/index.html new file mode 100755 index 000000000..37e65b86d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/-companion/index.html @@ -0,0 +1,239 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whitespace as borders

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun build(head: String, headBottom: String = head, body: String = head, bodyBottom: String = body, foot: String = body): BorderType
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/body-bottom.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/body-bottom.html new file mode 100755 index 000000000..37be16c45 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/body-bottom.html @@ -0,0 +1,76 @@ + + + + + bodyBottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bodyBottom

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/body.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/body.html new file mode 100755 index 000000000..7eed17e09 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/body.html @@ -0,0 +1,76 @@ + + + + + body + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    body

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/foot.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/foot.html new file mode 100755 index 000000000..3df1b0cb9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/foot.html @@ -0,0 +1,76 @@ + + + + + foot + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    foot

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/head-bottom.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/head-bottom.html new file mode 100755 index 000000000..3f6f03003 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/head-bottom.html @@ -0,0 +1,76 @@ + + + + + headBottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    headBottom

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/head.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/head.html new file mode 100755 index 000000000..2bdf96269 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/head.html @@ -0,0 +1,76 @@ + + + + + head + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    head

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-border-type/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/index.html new file mode 100755 index 000000000..bcfa4bdf2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-border-type/index.html @@ -0,0 +1,198 @@ + + + + + BorderType + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BorderType

    +
    class BorderType(val head: BorderTypeSection, val headBottom: BorderTypeSection, val body: BorderTypeSection, val bodyBottom: BorderTypeSection, val foot: BorderTypeSection)

    Characters to use to draw borders on a table or other box widget.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(head: BorderTypeSection, headBottom: BorderTypeSection, body: BorderTypeSection, bodyBottom: BorderTypeSection, foot: BorderTypeSection)
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-line/-line.html b/api/mordant/com.github.ajalt.mordant.rendering/-line/-line.html new file mode 100755 index 000000000..3895de3ec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-line/-line.html @@ -0,0 +1,76 @@ + + + + + Line + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Line

    +
    +
    constructor(spans: List<Span>)
    constructor(spans: List<Span>, endStyle: TextStyle)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-line/end-style.html b/api/mordant/com.github.ajalt.mordant.rendering/-line/end-style.html new file mode 100755 index 000000000..a80a24f22 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-line/end-style.html @@ -0,0 +1,76 @@ + + + + + endStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    endStyle

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-line/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-line/index.html new file mode 100755 index 000000000..ae3db2a7e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-line/index.html @@ -0,0 +1,288 @@ + + + + + Line + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Line

    +
    data class Line(val spans: List<Span>, val endStyle: TextStyle) : List<Span>
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(spans: List<Span>)
    constructor(spans: List<Span>, endStyle: TextStyle)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val size: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun contains(element: Span): Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun containsAll(elements: Collection<Span>): Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun get(index: Int): Span
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun indexOf(element: Span): Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun isEmpty(): Boolean
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun iterator(): Iterator<Span>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun lastIndexOf(element: Span): Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun listIterator(): ListIterator<Span>
    open override fun listIterator(index: Int): ListIterator<Span>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun subList(fromIndex: Int, toIndex: Int): List<Span>
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-line/spans.html b/api/mordant/com.github.ajalt.mordant.rendering/-line/spans.html new file mode 100755 index 000000000..a2609234d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-line/spans.html @@ -0,0 +1,76 @@ + + + + + spans + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    spans

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/-lines.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/-lines.html new file mode 100755 index 000000000..3d3b5dddc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/-lines.html @@ -0,0 +1,76 @@ + + + + + Lines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Lines

    +
    +
    constructor(lines: List<Line>)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/height.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/height.html new file mode 100755 index 000000000..9ec56d5da --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/height.html @@ -0,0 +1,76 @@ + + + + + height + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    height

    +
    +
    val height: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/index.html new file mode 100755 index 000000000..75505d43f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/index.html @@ -0,0 +1,198 @@ + + + + + Lines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Lines

    +
    class Lines(val lines: List<Line>)

    A lines, where each line is a list of Spans.

    Linebreaks are implicit between lines. There is no trailing line break. Lines can be empty.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(lines: List<Line>)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val height: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val width: Int
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Create a copy of these lines with any existing styles replaced with style

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun withStyle(style: TextStyle?): Lines

    Create a copy of these lines with style combined with any existing style

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/is-empty.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/is-empty.html new file mode 100755 index 000000000..bca35cbcc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/is-empty.html @@ -0,0 +1,76 @@ + + + + + isEmpty + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isEmpty

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/lines.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/lines.html new file mode 100755 index 000000000..61584aa3c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/lines.html @@ -0,0 +1,76 @@ + + + + + lines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    lines

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/replace-style.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/replace-style.html new file mode 100755 index 000000000..3864a06bf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/replace-style.html @@ -0,0 +1,76 @@ + + + + + replaceStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    replaceStyle

    +
    +

    Create a copy of these lines with any existing styles replaced with style

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/width.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/width.html new file mode 100755 index 000000000..e31381722 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/width.html @@ -0,0 +1,76 @@ + + + + + width + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    width

    +
    +
    val width: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-lines/with-style.html b/api/mordant/com.github.ajalt.mordant.rendering/-lines/with-style.html new file mode 100755 index 000000000..de5d9c005 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-lines/with-style.html @@ -0,0 +1,76 @@ + + + + + withStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    withStyle

    +
    +
    fun withStyle(style: TextStyle?): Lines

    Create a copy of these lines with style combined with any existing style

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-b-r-e-a-k_-w-o-r-d/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-b-r-e-a-k_-w-o-r-d/index.html new file mode 100755 index 000000000..599fef520 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-b-r-e-a-k_-w-o-r-d/index.html @@ -0,0 +1,115 @@ + + + + + BREAK_WORD + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BREAK_WORD

    +

    Break words that exceed the maximum line length

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-e-l-l-i-p-s-e-s/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-e-l-l-i-p-s-e-s/index.html new file mode 100755 index 000000000..e74e5bdf2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-e-l-l-i-p-s-e-s/index.html @@ -0,0 +1,115 @@ + + + + + ELLIPSES + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ELLIPSES

    +

    Truncate words that exceed the maximum line length, and replace the last visible character with

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-n-o-r-m-a-l/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-n-o-r-m-a-l/index.html new file mode 100755 index 000000000..afa21e8f1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-n-o-r-m-a-l/index.html @@ -0,0 +1,115 @@ + + + + + NORMAL + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NORMAL

    +

    Don't break or alter long words

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-t-r-u-n-c-a-t-e/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-t-r-u-n-c-a-t-e/index.html new file mode 100755 index 000000000..d5d8056ae --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/-t-r-u-n-c-a-t-e/index.html @@ -0,0 +1,115 @@ + + + + + TRUNCATE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TRUNCATE

    +

    Truncate words that exceed the maximum line length

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/entries.html new file mode 100755 index 000000000..eabefaa44 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/index.html new file mode 100755 index 000000000..49dec4fee --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/index.html @@ -0,0 +1,228 @@ + + + + + OverflowWrap + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    OverflowWrap

    +

    Setting for handling of long words that exceed the line length by themselves.

    These values correspond to the values of the CSS overflow-wrap property.

    Note that OverflowWrap has no effect unless Whitespace.wrap is true.

    +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Don't break or alter long words

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Break words that exceed the maximum line length

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Truncate words that exceed the maximum line length

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Truncate words that exceed the maximum line length, and replace the last visible character with

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/value-of.html new file mode 100755 index 000000000..6ca054ac0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/values.html new file mode 100755 index 000000000..64d712e29 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-overflow-wrap/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-size/-size.html b/api/mordant/com.github.ajalt.mordant.rendering/-size/-size.html new file mode 100755 index 000000000..a74c30e1f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-size/-size.html @@ -0,0 +1,76 @@ + + + + + Size + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Size

    +
    +
    constructor(width: Int, height: Int)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-size/height.html b/api/mordant/com.github.ajalt.mordant.rendering/-size/height.html new file mode 100755 index 000000000..3b1003213 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-size/height.html @@ -0,0 +1,76 @@ + + + + + height + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    height

    +
    +
    val height: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-size/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-size/index.html new file mode 100755 index 000000000..c650f5f01 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-size/index.html @@ -0,0 +1,153 @@ + + + + + Size + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Size

    +
    class Size(val width: Int, val height: Int)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(width: Int, height: Int)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val height: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val width: Int
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-size/to-string.html b/api/mordant/com.github.ajalt.mordant.rendering/-size/to-string.html new file mode 100755 index 000000000..a1548ca34 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-size/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    toString

    +
    +
    open override fun toString(): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-size/width.html b/api/mordant/com.github.ajalt.mordant.rendering/-size/width.html new file mode 100755 index 000000000..803b11a6e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-size/width.html @@ -0,0 +1,76 @@ + + + + + width + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    width

    +
    +
    val width: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/index.html new file mode 100755 index 000000000..87b1f8f4d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/index.html @@ -0,0 +1,115 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun space(width: Int = 1, style: TextStyle = DEFAULT_STYLE): Span

    Create a Span containing width number of space characters

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun word(text: String, style: TextStyle = DEFAULT_STYLE): Span

    Create a Span from a string and optional style.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/space.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/space.html new file mode 100755 index 000000000..a1fbf965d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/space.html @@ -0,0 +1,76 @@ + + + + + space + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    space

    +
    +
    fun space(width: Int = 1, style: TextStyle = DEFAULT_STYLE): Span

    Create a Span containing width number of space characters

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/word.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/word.html new file mode 100755 index 000000000..fb57ca10f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/-companion/word.html @@ -0,0 +1,76 @@ + + + + + word + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    word

    +
    +
    fun word(text: String, style: TextStyle = DEFAULT_STYLE): Span

    Create a Span from a string and optional style.

    The text cannot contain whitespace.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/index.html new file mode 100755 index 000000000..cdd0c98bf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/index.html @@ -0,0 +1,153 @@ + + + + + Span + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Span

    +
    class Span

    A word or string of whitespace and an associated style.

    A Span cannot be empty, cannot contain newlines or ANSI codes, and must must either be entirely whitespace or contain no whitespace at all.

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/style.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/style.html new file mode 100755 index 000000000..254313480 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/style.html @@ -0,0 +1,76 @@ + + + + + style + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    style

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/text.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/text.html new file mode 100755 index 000000000..2c3410cec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/text.html @@ -0,0 +1,76 @@ + + + + + text + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    text

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-span/to-string.html b/api/mordant/com.github.ajalt.mordant.rendering/-span/to-string.html new file mode 100755 index 000000000..8e47fa655 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-span/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    toString

    +
    +
    open override fun toString(): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-c-e-n-t-e-r/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-c-e-n-t-e-r/index.html new file mode 100755 index 000000000..630917c16 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-c-e-n-t-e-r/index.html @@ -0,0 +1,115 @@ + + + + + CENTER + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CENTER

    +

    Align text to the center of the widget

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-j-u-s-t-i-f-y/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-j-u-s-t-i-f-y/index.html new file mode 100755 index 000000000..6973cedcf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-j-u-s-t-i-f-y/index.html @@ -0,0 +1,115 @@ + + + + + JUSTIFY + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    JUSTIFY

    +

    Align text to both sides of the widget, adding spaces between words.

    For Widgets other than Text, this is treated the same as CENTER.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-l-e-f-t/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-l-e-f-t/index.html new file mode 100755 index 000000000..ff280fff2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-l-e-f-t/index.html @@ -0,0 +1,115 @@ + + + + + LEFT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT

    +

    Align text to the left side of the widget, and include trailing whitespace so that all lines are the lame length.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-n-o-n-e/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-n-o-n-e/index.html new file mode 100755 index 000000000..22b4b0ea9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-n-o-n-e/index.html @@ -0,0 +1,115 @@ + + + + + NONE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NONE

    +

    Align text to the left side of the widget, and don't include trailing whitespace

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-r-i-g-h-t/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-r-i-g-h-t/index.html new file mode 100755 index 000000000..da3cd66ce --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/-r-i-g-h-t/index.html @@ -0,0 +1,115 @@ + + + + + RIGHT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    RIGHT

    +

    Align text to the right side of the widget

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/entries.html new file mode 100755 index 000000000..62bda1cd5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/index.html new file mode 100755 index 000000000..1e6bdad20 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/index.html @@ -0,0 +1,243 @@ + + + + + TextAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TextAlign

    + +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align text to the left side of the widget, and include trailing whitespace so that all lines are the lame length.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align text to the right side of the widget

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align text to the center of the widget

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align text to both sides of the widget, adding spaces between words.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align text to the left side of the widget, and don't include trailing whitespace

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun valueOf(value: String): TextAlign

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/value-of.html new file mode 100755 index 000000000..bc90e1673 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +
    fun valueOf(value: String): TextAlign

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-align/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/values.html new file mode 100755 index 000000000..5f8dc51da --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-align/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/cmyk.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/cmyk.html new file mode 100755 index 000000000..dfc0fbf91 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/cmyk.html @@ -0,0 +1,76 @@ + + + + + cmyk + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cmyk

    +
    +
    fun cmyk(c: Int, m: Int, y: Int, k: Int, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from a CMYK color.

    Parameters

    c

    The cyan amount, in the range [0, 100]

    m

    The magenta amount, in the range [0, 100]

    y

    The yellow amount, in the range [0, 100]

    k

    The black amount, in the range [0, 100]

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/color.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/color.html new file mode 100755 index 000000000..c64cad421 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/color.html @@ -0,0 +1,76 @@ + + + + + color + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    color

    +
    +
    fun color(color: Color, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a TextStyle with a foreground of color, downsampled to a given level.

    It's usually easier to use a function like rgb or hsl instead.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/gray.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/gray.html new file mode 100755 index 000000000..60f590c58 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/gray.html @@ -0,0 +1,76 @@ + + + + + gray + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    gray

    +
    +
    fun gray(fraction: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a grayscale color code from a fraction in the range \[0, 1].

    Parameters

    fraction

    The fraction of white in the color. 0 is pure black, 1 is pure white.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/hsl.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/hsl.html new file mode 100755 index 000000000..f84869fa7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/hsl.html @@ -0,0 +1,76 @@ + + + + + hsl + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    hsl

    +
    +
    fun hsl(h: Number, s: Number, l: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from an HSL color.

    Parameters

    h

    The hue, in the range [0, 360]

    s

    The saturation, in the range [0, 1]

    l

    The lightness, in the range [0, 1]

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/hsv.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/hsv.html new file mode 100755 index 000000000..c8ae809ac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/hsv.html @@ -0,0 +1,76 @@ + + + + + hsv + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    hsv

    +
    +
    fun hsv(h: Number, s: Number, v: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from an HSV color.

    Parameters

    h

    The hue, in the range [0, 360]

    s

    The saturation, in the range [0, 1]

    v

    The value, in the range [0, 1]

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/index.html new file mode 100755 index 000000000..0f3609690 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/index.html @@ -0,0 +1,205 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun cmyk(c: Int, m: Int, y: Int, k: Int, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from a CMYK color.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun color(color: Color, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a TextStyle with a foreground of color, downsampled to a given level.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun gray(fraction: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a grayscale color code from a fraction in the range \[0, 1].

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun hsl(h: Number, s: Number, l: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from an HSL color.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun hsv(h: Number, s: Number, v: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from an HSV color.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun lab(l: Number, a: Number, b: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from a CIE LAB color.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun rgb(hex: String, level: AnsiLevel = TRUECOLOR): TextStyle

    fun rgb(r: Number, g: Number, b: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from an RGB color.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun xyz(x: Number, y: Number, z: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from a CIE XYZ color.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/lab.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/lab.html new file mode 100755 index 000000000..98744cbfc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/lab.html @@ -0,0 +1,76 @@ + + + + + lab + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    lab

    +
    +
    fun lab(l: Number, a: Number, b: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from a CIE LAB color.

    Conversions use D65 reference white, and sRGB profile.

    l is in the interval [0, 100]. a and b have unlimited range, but are generally in [-100, 100]

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/rgb.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/rgb.html new file mode 100755 index 000000000..0d8f6c332 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/rgb.html @@ -0,0 +1,76 @@ + + + + + rgb + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    rgb

    +
    +
    fun rgb(hex: String, level: AnsiLevel = TRUECOLOR): TextStyle

    Parameters

    hex

    An rgb hex string in the form "#ffffff" or "ffffff"


    fun rgb(r: Number, g: Number, b: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from an RGB color.

    Parameters

    r

    The red amount, in the range [0, 1]

    g

    The green amount, in the range [0, 1]

    b

    The blue amount, in the range [0, 1]

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/xyz.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/xyz.html new file mode 100755 index 000000000..af79fc944 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/-companion/xyz.html @@ -0,0 +1,76 @@ + + + + + xyz + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    xyz

    +
    +
    fun xyz(x: Number, y: Number, z: Number, level: AnsiLevel = TRUECOLOR): TextStyle

    Create a color code from a CIE XYZ color.

    Conversions use D65 reference white, and sRGB profile.

    x, y, and z are generally in the interval [0, 1]

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/black/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/black/index.html new file mode 100755 index 000000000..71fa878e0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/black/index.html @@ -0,0 +1,689 @@ + + + + + black + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    black

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/blue/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/blue/index.html new file mode 100755 index 000000000..3b420fd42 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/blue/index.html @@ -0,0 +1,689 @@ + + + + + blue + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    blue

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-blue/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-blue/index.html new file mode 100755 index 000000000..be9d731e3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-blue/index.html @@ -0,0 +1,689 @@ + + + + + brightBlue + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightBlue

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-cyan/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-cyan/index.html new file mode 100755 index 000000000..4d36a9eea --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-cyan/index.html @@ -0,0 +1,689 @@ + + + + + brightCyan + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightCyan

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-green/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-green/index.html new file mode 100755 index 000000000..82300e009 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-green/index.html @@ -0,0 +1,689 @@ + + + + + brightGreen + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightGreen

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-magenta/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-magenta/index.html new file mode 100755 index 000000000..ab0399488 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-magenta/index.html @@ -0,0 +1,689 @@ + + + + + brightMagenta + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightMagenta

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-red/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-red/index.html new file mode 100755 index 000000000..e5d80ba28 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-red/index.html @@ -0,0 +1,689 @@ + + + + + brightRed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightRed

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-white/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-white/index.html new file mode 100755 index 000000000..f3bf07a58 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-white/index.html @@ -0,0 +1,689 @@ + + + + + brightWhite + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightWhite

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-yellow/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-yellow/index.html new file mode 100755 index 000000000..0d0b2b493 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/bright-yellow/index.html @@ -0,0 +1,689 @@ + + + + + brightYellow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    brightYellow

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/cyan/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/cyan/index.html new file mode 100755 index 000000000..9a05b1b44 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/cyan/index.html @@ -0,0 +1,689 @@ + + + + + cyan + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cyan

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/entries.html new file mode 100755 index 000000000..56270956f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/gray/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/gray/index.html new file mode 100755 index 000000000..a9f88c797 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/gray/index.html @@ -0,0 +1,689 @@ + + + + + gray + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    gray

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/green/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/green/index.html new file mode 100755 index 000000000..73fdd94f1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/green/index.html @@ -0,0 +1,689 @@ + + + + + green + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    green

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/index.html new file mode 100755 index 000000000..fa7c83d0f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/index.html @@ -0,0 +1,997 @@ + + + + + TextColors + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TextColors

    +

    Default text colors that can be used to style text.

    These styles are not automatically downsampled. You should print the styled strings with Terminal.println to do so.

    Example

    import com.github.ajalt.mordant.rendering.TextColors.*

    val t = Terminal()
    t.println("This text is ${green("colorful")}!")
    +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/magenta/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/magenta/index.html new file mode 100755 index 000000000..c2f54b223 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/magenta/index.html @@ -0,0 +1,689 @@ + + + + + magenta + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    magenta

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/red/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/red/index.html new file mode 100755 index 000000000..5f2f0c211 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/red/index.html @@ -0,0 +1,689 @@ + + + + + red + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    red

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/to-string.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/to-string.html new file mode 100755 index 000000000..e427413b1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    toString

    +
    +
    open override fun toString(): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/value-of.html new file mode 100755 index 000000000..2379c6c0e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/values.html new file mode 100755 index 000000000..772bf26b2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/white/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/white/index.html new file mode 100755 index 000000000..ee422b29c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/white/index.html @@ -0,0 +1,689 @@ + + + + + white + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    white

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/yellow/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/yellow/index.html new file mode 100755 index 000000000..81b8e5fc1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-colors/yellow/index.html @@ -0,0 +1,689 @@ + + + + + yellow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    yellow

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alpha: Float
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val space: ColorSpace<*>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun clamp(): Color
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open infix override fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator override fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator override fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi16(): Ansi16
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toAnsi256(): Ansi256
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toArray(): FloatArray
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toCMYK(): CMYK
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHPLuv(): HPLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSL(): HSL
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSLuv(): HSLuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHSV(): HSV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toHWB(): HWB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toICtCp(): ICtCp
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzAzBz(): JzAzBz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toJzCzHz(): JzCzHz
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLAB(): LAB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHab(): LCHab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLCHuv(): LCHuv
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toLUV(): LUV
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklab(): Oklab
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toOklch(): Oklch
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toSRGB(): RGB
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toXYZ(): XYZ
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style.html new file mode 100755 index 000000000..1f584c2b3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style.html @@ -0,0 +1,76 @@ + + + + + TextStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TextStyle

    +
    +
    fun TextStyle(color: Color? = null, bgColor: Color? = null, bold: Boolean? = null, italic: Boolean? = null, underline: Boolean? = null, dim: Boolean? = null, inverse: Boolean? = null, strikethrough: Boolean? = null, hyperlink: String? = null): TextStyle
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bg-color.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bg-color.html new file mode 100755 index 000000000..eaf76e2ac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bg-color.html @@ -0,0 +1,76 @@ + + + + + bgColor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bgColor

    +
    +
    abstract val bgColor: Color?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bg.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bg.html new file mode 100755 index 000000000..4d12dfe57 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bg.html @@ -0,0 +1,76 @@ + + + + + bg + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bg

    +
    +
    abstract val bg: TextStyle

    Create a with this color as the background.

    Example

    red.bg == TextStyle(bgColor=red)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bold.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bold.html new file mode 100755 index 000000000..db43225f0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/bold.html @@ -0,0 +1,76 @@ + + + + + bold + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bold

    +
    +
    abstract val bold: Boolean?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/color.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/color.html new file mode 100755 index 000000000..dbbb5873d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/color.html @@ -0,0 +1,76 @@ + + + + + color + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    color

    +
    +
    abstract val color: Color?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/dim.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/dim.html new file mode 100755 index 000000000..8238b2bd0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/dim.html @@ -0,0 +1,76 @@ + + + + + dim + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    dim

    +
    +
    abstract val dim: Boolean?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/hyperlink-id.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/hyperlink-id.html new file mode 100755 index 000000000..d366a555f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/hyperlink-id.html @@ -0,0 +1,76 @@ + + + + + hyperlinkId + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    hyperlinkId

    +
    +
    abstract val hyperlinkId: String?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/hyperlink.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/hyperlink.html new file mode 100755 index 000000000..2513571ba --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/hyperlink.html @@ -0,0 +1,76 @@ + + + + + hyperlink + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    hyperlink

    +
    +
    abstract val hyperlink: String?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/index.html new file mode 100755 index 000000000..815ee255f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/index.html @@ -0,0 +1,299 @@ + + + + + TextStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TextStyle

    +
    interface TextStyle

    Styles that can be applied to text by terminals that support it.

    You can combine styles with on or plus

    Inheritors

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val bg: TextStyle

    Create a with this color as the background.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val bgColor: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val bold: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val color: Color?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val dim: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val hyperlink: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val hyperlinkId: String?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val inverse: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val italic: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val strikethrough: Boolean?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val underline: Boolean?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator fun invoke(text: String): String

    Apply this style to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract infix fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open operator fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    open operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/inverse.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/inverse.html new file mode 100755 index 000000000..35d41cbc1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/inverse.html @@ -0,0 +1,76 @@ + + + + + inverse + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    inverse

    +
    +
    abstract val inverse: Boolean?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/invoke.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/invoke.html new file mode 100755 index 000000000..f61ba5c13 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/invoke.html @@ -0,0 +1,76 @@ + + + + + invoke + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    invoke

    +
    +
    open operator fun invoke(text: String): String

    Apply this style to text.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/italic.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/italic.html new file mode 100755 index 000000000..3e136faef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/italic.html @@ -0,0 +1,76 @@ + + + + + italic + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    italic

    +
    +
    abstract val italic: Boolean?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/on.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/on.html new file mode 100755 index 000000000..f553ce873 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/on.html @@ -0,0 +1,76 @@ + + + + + on + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    on

    +
    +
    abstract infix fun on(bg: TextStyle): TextStyle

    Create a style with the foreground color of bg as the background color of the new style.

    All other attributes will be copied from this style.

    Example

    (red on blue) == TextStyle(color=red, bgColor=blue)

    val style1 = TextStyle(red, bold=true)
    val style2 = TextStyle(blue, italic=true)
    (style1 on style2) == TextStyle(red, blue, bold=true)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/plus.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/plus.html new file mode 100755 index 000000000..9c0c45e18 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    plus

    +
    +
    open operator fun plus(other: TextStyle): TextStyle

    Return a new style that combines this style with other.

    And attributes that are set on both this and other will take the value from other. Any null values on other will keep the value from this style.

    Example

    val style1 = TextStyle(red, blue, bold=true, italic=true)
    val style2 = TextStyle(green, italic=false, dim=true)
    (style1 + style2) == TextStyle(green, blue, bold=true, italic=false, dim=true)

    open operator fun plus(other: TextStyles): TextStyle
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/strikethrough.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/strikethrough.html new file mode 100755 index 000000000..987b9e2ed --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/strikethrough.html @@ -0,0 +1,76 @@ + + + + + strikethrough + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    strikethrough

    +
    +
    abstract val strikethrough: Boolean?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-style/underline.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/underline.html new file mode 100755 index 000000000..dfc264b14 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-style/underline.html @@ -0,0 +1,76 @@ + + + + + underline + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    underline

    +
    +
    abstract val underline: Boolean?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/-companion/hyperlink.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/-companion/hyperlink.html new file mode 100755 index 000000000..649d2502d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/-companion/hyperlink.html @@ -0,0 +1,76 @@ + + + + + hyperlink + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    hyperlink

    +
    +
    fun hyperlink(destination: String): TextStyle

    Create a text style with a hyperlink.

    The destination should include an explicit protocol like https://, since most terminals won't open links without one.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/-companion/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/-companion/index.html new file mode 100755 index 000000000..2aad5ea01 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun hyperlink(destination: String): TextStyle

    Create a text style with a hyperlink.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/bold/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/bold/index.html new file mode 100755 index 000000000..2a0080b18 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/bold/index.html @@ -0,0 +1,179 @@ + + + + + bold + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bold

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/dim/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/dim/index.html new file mode 100755 index 000000000..2d72a20f8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/dim/index.html @@ -0,0 +1,179 @@ + + + + + dim + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    dim

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/entries.html new file mode 100755 index 000000000..c983c094f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/index.html new file mode 100755 index 000000000..8dd30d7da --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/index.html @@ -0,0 +1,382 @@ + + + + + TextStyles + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TextStyles

    +

    Default text style that can be applied to text.

    These styles are not automatically downsampled. You should print the styled strings with Terminal.println to do so.

    Example

    import com.github.ajalt.mordant.rendering.TextStyles.*

    val t = Terminal()
    t.println("This text is ${bold("bold")}!")
    +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Reset the foreground color to the terminal default.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Reset the background color to the terminal default.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Reset all styles to the terminal default.

    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/inverse/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/inverse/index.html new file mode 100755 index 000000000..899000b45 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/inverse/index.html @@ -0,0 +1,179 @@ + + + + + inverse + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    inverse

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/invoke.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/invoke.html new file mode 100755 index 000000000..62cb46348 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/invoke.html @@ -0,0 +1,76 @@ + + + + + invoke + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    invoke

    +
    +
    operator fun invoke(text: String): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/italic/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/italic/index.html new file mode 100755 index 000000000..87f6baf16 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/italic/index.html @@ -0,0 +1,179 @@ + + + + + italic + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    italic

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/plus.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/plus.html new file mode 100755 index 000000000..0635fcc20 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    plus

    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset-background/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset-background/index.html new file mode 100755 index 000000000..1e26aee80 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset-background/index.html @@ -0,0 +1,179 @@ + + + + + resetBackground + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    resetBackground

    +

    Reset the background color to the terminal default.

    val style = (red on blue)
    val foregroundOnly = style + resetBackground
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset-foreground/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset-foreground/index.html new file mode 100755 index 000000000..fa73e1b78 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset-foreground/index.html @@ -0,0 +1,179 @@ + + + + + resetForeground + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    resetForeground

    +

    Reset the foreground color to the terminal default.

    val style = (red on blue)
    val backgroundOnly = style + resetForeground
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset/index.html new file mode 100755 index 000000000..2cf8e9043 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/reset/index.html @@ -0,0 +1,179 @@ + + + + + reset + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    reset

    +

    Reset all styles to the terminal default.

    val style = (red on blue) + bold
    assert reset(style("text")) == "text"
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/strikethrough/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/strikethrough/index.html new file mode 100755 index 000000000..62b952ec6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/strikethrough/index.html @@ -0,0 +1,179 @@ + + + + + strikethrough + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    strikethrough

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/style.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/style.html new file mode 100755 index 000000000..b6450f3ef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/style.html @@ -0,0 +1,76 @@ + + + + + style + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    style

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/to-string.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/to-string.html new file mode 100755 index 000000000..7f916e32f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    toString

    +
    +
    open override fun toString(): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/underline/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/underline/index.html new file mode 100755 index 000000000..08663745c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/underline/index.html @@ -0,0 +1,179 @@ + + + + + underline + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    underline

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun invoke(text: String): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: TextStyle): TextStyle
    operator fun plus(other: TextStyles): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/value-of.html new file mode 100755 index 000000000..621d3f8a1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/values.html new file mode 100755 index 000000000..20145cb1f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-text-styles/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/dimensions.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/dimensions.html new file mode 100755 index 000000000..b55a0d944 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/dimensions.html @@ -0,0 +1,76 @@ + + + + + dimensions + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    dimensions

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/flags.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/flags.html new file mode 100755 index 000000000..910c5bab0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/flags.html @@ -0,0 +1,76 @@ + + + + + flags + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    flags

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/index.html new file mode 100755 index 000000000..100639927 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/index.html @@ -0,0 +1,145 @@ + + + + + ThemeBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ThemeBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/strings.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/strings.html new file mode 100755 index 000000000..8965422d1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/strings.html @@ -0,0 +1,76 @@ + + + + + strings + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    strings

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/styles.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/styles.html new file mode 100755 index 000000000..3af207349 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme-builder/styles.html @@ -0,0 +1,76 @@ + + + + + styles + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    styles

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme.html new file mode 100755 index 000000000..a6325a747 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme.html @@ -0,0 +1,76 @@ + + + + + Theme + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Theme

    +
    +
    fun Theme(from: Theme = Theme.Default, init: ThemeBuilder.() -> Unit): Theme
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-default.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-default.html new file mode 100755 index 000000000..6b3b861f4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-default.html @@ -0,0 +1,76 @@ + + + + + Default + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Default

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-plain-ascii.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-plain-ascii.html new file mode 100755 index 000000000..56831d3f0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-plain-ascii.html @@ -0,0 +1,76 @@ + + + + + PlainAscii + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    PlainAscii

    +
    +

    A theme that uses no text colors or styles, and uses only ASCII characters

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-plain.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-plain.html new file mode 100755 index 000000000..2ac279015 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/-plain.html @@ -0,0 +1,76 @@ + + + + + Plain + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Plain

    +
    +

    A theme that uses the same unicode characters as Default, but uses no text colors or styles.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/index.html new file mode 100755 index 000000000..087904b99 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/-companion/index.html @@ -0,0 +1,130 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A theme that uses the same unicode characters as Default, but uses no text colors or styles.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A theme that uses no text colors or styles, and uses only ASCII characters

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/danger.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/danger.html new file mode 100755 index 000000000..5311f293e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/danger.html @@ -0,0 +1,76 @@ + + + + + danger + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    danger

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimension-or-null.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimension-or-null.html new file mode 100755 index 000000000..edc8ea9eb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimension-or-null.html @@ -0,0 +1,76 @@ + + + + + dimensionOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    dimensionOrNull

    +
    +
    fun dimensionOrNull(dimension: String): Int?

    Return a dimension if defined, or null otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimension.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimension.html new file mode 100755 index 000000000..2eebe85f3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimension.html @@ -0,0 +1,76 @@ + + + + + dimension + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    dimension

    +
    +
    fun dimension(dimension: String, default: Int = 0): Int

    Return a dimension if defined, or default otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimensions.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimensions.html new file mode 100755 index 000000000..9a30dfab6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/dimensions.html @@ -0,0 +1,76 @@ + + + + + dimensions + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    dimensions

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/flag-or-null.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/flag-or-null.html new file mode 100755 index 000000000..f9286a6fc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/flag-or-null.html @@ -0,0 +1,76 @@ + + + + + flagOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    flagOrNull

    +
    +

    Return a flag if defined, or null otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/flag.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/flag.html new file mode 100755 index 000000000..2ea252bb1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/flag.html @@ -0,0 +1,76 @@ + + + + + flag + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    flag

    +
    +
    fun flag(flag: String, default: Boolean = false): Boolean

    Return a flag if defined, or default otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/flags.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/flags.html new file mode 100755 index 000000000..edbdaf8d9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/flags.html @@ -0,0 +1,76 @@ + + + + + flags + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    flags

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/index.html new file mode 100755 index 000000000..7fa8085ae --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/index.html @@ -0,0 +1,378 @@ + + + + + Theme + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Theme

    +
    sealed class Theme
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun dimension(dimension: String, default: Int = 0): Int

    Return a dimension if defined, or default otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun dimensionOrNull(dimension: String): Int?

    Return a dimension if defined, or null otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun flag(flag: String, default: Boolean = false): Boolean

    Return a flag if defined, or default otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return a flag if defined, or null otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun Theme.plus(other: Theme): Theme

    Create a new theme by replacing or adding entries to this theme from an other theme.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun string(string: String, default: String = ""): String

    Return a string if defined, or default otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun stringOrNull(string: String): String?

    Return a string if defined, or null otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun style(style: String, default: TextStyle = DEFAULT_STYLE): TextStyle

    Return a style if defined, or default otherwise

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return a style if defined, or null otherwise

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/info.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/info.html new file mode 100755 index 000000000..e4222e1b8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/info.html @@ -0,0 +1,76 @@ + + + + + info + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    info

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/muted.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/muted.html new file mode 100755 index 000000000..3acf919f6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/muted.html @@ -0,0 +1,76 @@ + + + + + muted + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    muted

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/string-or-null.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/string-or-null.html new file mode 100755 index 000000000..8050209bb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/string-or-null.html @@ -0,0 +1,76 @@ + + + + + stringOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stringOrNull

    +
    +
    fun stringOrNull(string: String): String?

    Return a string if defined, or null otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/string.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/string.html new file mode 100755 index 000000000..94f432d87 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/string.html @@ -0,0 +1,76 @@ + + + + + string + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    string

    +
    +
    fun string(string: String, default: String = ""): String

    Return a string if defined, or default otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/strings.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/strings.html new file mode 100755 index 000000000..ec2a74ab5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/strings.html @@ -0,0 +1,76 @@ + + + + + strings + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    strings

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/style-or-null.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/style-or-null.html new file mode 100755 index 000000000..641666de9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/style-or-null.html @@ -0,0 +1,76 @@ + + + + + styleOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    styleOrNull

    +
    +

    Return a style if defined, or null otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/style.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/style.html new file mode 100755 index 000000000..b1d2fdd31 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/style.html @@ -0,0 +1,76 @@ + + + + + style + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    style

    +
    +
    fun style(style: String, default: TextStyle = DEFAULT_STYLE): TextStyle

    Return a style if defined, or default otherwise

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/styles.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/styles.html new file mode 100755 index 000000000..41d0e8403 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/styles.html @@ -0,0 +1,76 @@ + + + + + styles + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    styles

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/success.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/success.html new file mode 100755 index 000000000..95fdf4340 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/success.html @@ -0,0 +1,76 @@ + + + + + success + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    success

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-theme/warning.html b/api/mordant/com.github.ajalt.mordant.rendering/-theme/warning.html new file mode 100755 index 000000000..a546c012f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-theme/warning.html @@ -0,0 +1,76 @@ + + + + + warning + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    warning

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..a69e23a3f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-b-o-t-t-o-m/index.html @@ -0,0 +1,115 @@ + + + + + BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BOTTOM

    +

    Align widgets vertically to the bottom of the layout

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-m-i-d-d-l-e/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-m-i-d-d-l-e/index.html new file mode 100755 index 000000000..a2454e155 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-m-i-d-d-l-e/index.html @@ -0,0 +1,115 @@ + + + + + MIDDLE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MIDDLE

    +

    Align widgets vertically to the middle of the layout

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-t-o-p/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-t-o-p/index.html new file mode 100755 index 000000000..30f6fed1c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/-t-o-p/index.html @@ -0,0 +1,115 @@ + + + + + TOP + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TOP

    +

    Align widgets vertically to the top of the layout

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/entries.html new file mode 100755 index 000000000..b5d7afcce --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/index.html new file mode 100755 index 000000000..bc65e2d13 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/index.html @@ -0,0 +1,213 @@ + + + + + VerticalAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    VerticalAlign

    + +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align widgets vertically to the top of the layout

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align widgets vertically to the middle of the layout

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Align widgets vertically to the bottom of the layout

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/value-of.html new file mode 100755 index 000000000..af5f342e8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/values.html new file mode 100755 index 000000000..5f3635b72 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-vertical-align/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-n-o-r-m-a-l/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-n-o-r-m-a-l/index.html new file mode 100755 index 000000000..a51b128d9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-n-o-r-m-a-l/index.html @@ -0,0 +1,175 @@ + + + + + NORMAL + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NORMAL

    +

    Wrap text and collapse all whitespaces and line breaks

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, line breaks in the text will be replaced with spaces.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, consecutive spaces will be replaced with a single space.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, whitespace at the end of lines will be removed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-n-o-w-r-a-p/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-n-o-w-r-a-p/index.html new file mode 100755 index 000000000..311fe5558 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-n-o-w-r-a-p/index.html @@ -0,0 +1,175 @@ + + + + + NOWRAP + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NOWRAP

    +

    Collapse spaces and line breaks, but don't wrap lines. This will effectively put all text on a single line.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, line breaks in the text will be replaced with spaces.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, consecutive spaces will be replaced with a single space.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, whitespace at the end of lines will be removed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e/index.html new file mode 100755 index 000000000..399f4c0af --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e/index.html @@ -0,0 +1,175 @@ + + + + + PRE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    PRE

    +

    Make no changes to the input text

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, line breaks in the text will be replaced with spaces.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, consecutive spaces will be replaced with a single space.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, whitespace at the end of lines will be removed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e_-l-i-n-e/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e_-l-i-n-e/index.html new file mode 100755 index 000000000..d3ee3a9ed --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e_-l-i-n-e/index.html @@ -0,0 +1,175 @@ + + + + + PRE_LINE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    PRE_LINE

    +

    Like NORMAL, but preserves any line breaks from the input

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, line breaks in the text will be replaced with spaces.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, consecutive spaces will be replaced with a single space.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, whitespace at the end of lines will be removed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e_-w-r-a-p/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e_-w-r-a-p/index.html new file mode 100755 index 000000000..15a06ae59 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/-p-r-e_-w-r-a-p/index.html @@ -0,0 +1,175 @@ + + + + + PRE_WRAP + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    PRE_WRAP

    +

    Like PRE, but will break long lines

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, line breaks in the text will be replaced with spaces.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, consecutive spaces will be replaced with a single space.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, whitespace at the end of lines will be removed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/collapse-newlines.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/collapse-newlines.html new file mode 100755 index 000000000..4eccfd8f3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/collapse-newlines.html @@ -0,0 +1,76 @@ + + + + + collapseNewlines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    collapseNewlines

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/collapse-spaces.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/collapse-spaces.html new file mode 100755 index 000000000..9554ee31a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/collapse-spaces.html @@ -0,0 +1,76 @@ + + + + + collapseSpaces + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    collapseSpaces

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/entries.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/entries.html new file mode 100755 index 000000000..a0d88960f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/index.html new file mode 100755 index 000000000..36b0b49f6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/index.html @@ -0,0 +1,303 @@ + + + + + Whitespace + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Whitespace

    +

    Settings for handling of whitespace and line wrapping.

    These values correspond to the values of the CSS white-space property.

    See also

    +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Wrap text and collapse all whitespaces and line breaks

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Collapse spaces and line breaks, but don't wrap lines. This will effectively put all text on a single line.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Make no changes to the input text

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Like PRE, but will break long lines

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Like NORMAL, but preserves any line breaks from the input

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, line breaks in the text will be replaced with spaces.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, consecutive spaces will be replaced with a single space.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, whitespace at the end of lines will be removed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, lines will be broken by replacing spaces with line breaks where necessary to keep lines under the configured width.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/trim-eol.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/trim-eol.html new file mode 100755 index 000000000..7cde2fb3f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/trim-eol.html @@ -0,0 +1,76 @@ + + + + + trimEol + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    trimEol

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/value-of.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/value-of.html new file mode 100755 index 000000000..eee8c80aa --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/values.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/values.html new file mode 100755 index 000000000..d21835d9b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/wrap.html b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/wrap.html new file mode 100755 index 000000000..355bf3f25 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-whitespace/wrap.html @@ -0,0 +1,76 @@ + + + + + wrap + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    wrap

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-widget/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-widget/index.html new file mode 100755 index 000000000..a7b96607e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-widget/index.html @@ -0,0 +1,130 @@ + + + + + Widget + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun measure(t: Terminal, width: Int = t.size.width): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun render(t: Terminal, width: Int = t.size.width): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-widget/measure.html b/api/mordant/com.github.ajalt.mordant.rendering/-widget/measure.html new file mode 100755 index 000000000..9f0838bcb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-widget/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    abstract fun measure(t: Terminal, width: Int = t.size.width): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-widget/render.html b/api/mordant/com.github.ajalt.mordant.rendering/-widget/render.html new file mode 100755 index 000000000..6a3e7ae5a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-widget/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    abstract fun render(t: Terminal, width: Int = t.size.width): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-width-range/-width-range.html b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/-width-range.html new file mode 100755 index 000000000..60ce5f9a7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/-width-range.html @@ -0,0 +1,76 @@ + + + + + WidthRange + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    WidthRange

    +
    +
    constructor(min: Int, max: Int)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-width-range/div.html b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/div.html new file mode 100755 index 000000000..c2db1700b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/div.html @@ -0,0 +1,76 @@ + + + + + div + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    div

    +
    +
    operator fun div(divisor: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-width-range/index.html b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/index.html new file mode 100755 index 000000000..3fba0e6ba --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/index.html @@ -0,0 +1,168 @@ + + + + + WidthRange + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    WidthRange

    +
    data class WidthRange(val min: Int, val max: Int)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(min: Int, max: Int)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val max: Int

    The width that a widget would use if given all available space

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val min: Int

    The minimum width that a widget needs to render without truncation

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun div(divisor: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun plus(other: WidthRange): WidthRange
    operator fun plus(extra: Int): WidthRange
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-width-range/max.html b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/max.html new file mode 100755 index 000000000..9869dd570 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/max.html @@ -0,0 +1,76 @@ + + + + + max + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    max

    +
    +
    val max: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-width-range/min.html b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/min.html new file mode 100755 index 000000000..803c9bf28 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/min.html @@ -0,0 +1,76 @@ + + + + + min + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    min

    +
    +
    val min: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/-width-range/plus.html b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/plus.html new file mode 100755 index 000000000..9c1f16971 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/-width-range/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    plus

    +
    +
    operator fun plus(extra: Int): WidthRange
    operator fun plus(other: WidthRange): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/index.html b/api/mordant/com.github.ajalt.mordant.rendering/index.html new file mode 100755 index 000000000..ec2e5e564 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/index.html @@ -0,0 +1,403 @@ + + + + + com.github.ajalt.mordant.rendering + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class BorderType(val head: BorderTypeSection, val headBottom: BorderTypeSection, val body: BorderTypeSection, val bodyBottom: BorderTypeSection, val foot: BorderTypeSection)

    Characters to use to draw borders on a table or other box widget.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class BorderTypeSection(val es: String, val esw: String, val sw: String, val nes: String, val nesw: String, val nsw: String, val ne: String, val new: String, val nw: String, val ew: String, val ns: String, val s: String, val n: String, val w: String, val e: String)

    Characters to use for one section of a BorderType

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Line(val spans: List<Span>, val endStyle: TextStyle) : List<Span>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Lines(val lines: List<Line>)

    A lines, where each line is a list of Spans.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Setting for handling of long words that exceed the line length by themselves.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Size(val width: Int, val height: Int)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Span

    A word or string of whitespace and an associated style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Default text colors that can be used to style text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface TextStyle

    Styles that can be applied to text by terminals that support it.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Default text style that can be applied to text.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    sealed class Theme
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Settings for handling of whitespace and line wrapping.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface Widget
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class WidthRange(val min: Int, val max: Int)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun Theme.plus(other: Theme): Theme

    Create a new theme by replacing or adding entries to this theme from an other theme.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun TextStyle(color: Color? = null, bgColor: Color? = null, bold: Boolean? = null, italic: Boolean? = null, underline: Boolean? = null, dim: Boolean? = null, inverse: Boolean? = null, strikethrough: Boolean? = null, hyperlink: String? = null): TextStyle
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Theme(from: Theme = Theme.Default, init: ThemeBuilder.() -> Unit): Theme
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.rendering/plus.html b/api/mordant/com.github.ajalt.mordant.rendering/plus.html new file mode 100755 index 000000000..dd12fbfde --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.rendering/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    plus

    +
    +
    operator fun Theme.plus(other: Theme): Theme

    Create a new theme by replacing or adding entries to this theme from an other theme.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-a-l-l/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-a-l-l/index.html new file mode 100755 index 000000000..75d0362e8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-a-l-l/index.html @@ -0,0 +1,175 @@ + + + + + ALL + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ALL

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..8539a1237 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-b-o-t-t-o-m/index.html @@ -0,0 +1,175 @@ + + + + + BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BOTTOM

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-b-o-t-t-o-m_-r-i-g-h-t/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-b-o-t-t-o-m_-r-i-g-h-t/index.html new file mode 100755 index 000000000..aa46ef17c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-b-o-t-t-o-m_-r-i-g-h-t/index.html @@ -0,0 +1,175 @@ + + + + + BOTTOM_RIGHT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    BOTTOM_RIGHT

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t/index.html new file mode 100755 index 000000000..7445adc5c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t/index.html @@ -0,0 +1,175 @@ + + + + + LEFT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..4401d4eeb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-b-o-t-t-o-m/index.html @@ -0,0 +1,175 @@ + + + + + LEFT_BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT_BOTTOM

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-r-i-g-h-t/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-r-i-g-h-t/index.html new file mode 100755 index 000000000..1a64533e2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-r-i-g-h-t/index.html @@ -0,0 +1,175 @@ + + + + + LEFT_RIGHT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT_RIGHT

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-r-i-g-h-t_-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-r-i-g-h-t_-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..421223e01 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-r-i-g-h-t_-b-o-t-t-o-m/index.html @@ -0,0 +1,175 @@ + + + + + LEFT_RIGHT_BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT_RIGHT_BOTTOM

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p/index.html new file mode 100755 index 000000000..87cda926c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p/index.html @@ -0,0 +1,175 @@ + + + + + LEFT_TOP + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT_TOP

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p_-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p_-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..2e0d3c2f6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p_-b-o-t-t-o-m/index.html @@ -0,0 +1,175 @@ + + + + + LEFT_TOP_BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT_TOP_BOTTOM

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p_-r-i-g-h-t/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p_-r-i-g-h-t/index.html new file mode 100755 index 000000000..6e01a70fb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-l-e-f-t_-t-o-p_-r-i-g-h-t/index.html @@ -0,0 +1,175 @@ + + + + + LEFT_TOP_RIGHT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    LEFT_TOP_RIGHT

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-n-o-n-e/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-n-o-n-e/index.html new file mode 100755 index 000000000..6bac8bd64 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-n-o-n-e/index.html @@ -0,0 +1,175 @@ + + + + + NONE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NONE

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-r-i-g-h-t/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-r-i-g-h-t/index.html new file mode 100755 index 000000000..2b1ac1327 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-r-i-g-h-t/index.html @@ -0,0 +1,175 @@ + + + + + RIGHT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    RIGHT

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p/index.html new file mode 100755 index 000000000..492f2f94b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p/index.html @@ -0,0 +1,175 @@ + + + + + TOP + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TOP

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..c4d3fd873 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-b-o-t-t-o-m/index.html @@ -0,0 +1,175 @@ + + + + + TOP_BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TOP_BOTTOM

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-r-i-g-h-t/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-r-i-g-h-t/index.html new file mode 100755 index 000000000..1dee0c219 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-r-i-g-h-t/index.html @@ -0,0 +1,175 @@ + + + + + TOP_RIGHT + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TOP_RIGHT

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-r-i-g-h-t_-b-o-t-t-o-m/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-r-i-g-h-t_-b-o-t-t-o-m/index.html new file mode 100755 index 000000000..06c23b2ac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/-t-o-p_-r-i-g-h-t_-b-o-t-t-o-m/index.html @@ -0,0 +1,175 @@ + + + + + TOP_RIGHT_BOTTOM + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TOP_RIGHT_BOTTOM

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/bottom.html b/api/mordant/com.github.ajalt.mordant.table/-borders/bottom.html new file mode 100755 index 000000000..e35d715dd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/bottom.html @@ -0,0 +1,76 @@ + + + + + bottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bottom

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/entries.html b/api/mordant/com.github.ajalt.mordant.table/-borders/entries.html new file mode 100755 index 000000000..714d64059 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/index.html b/api/mordant/com.github.ajalt.mordant.table/-borders/index.html new file mode 100755 index 000000000..de782ab9d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/index.html @@ -0,0 +1,468 @@ + + + + + Borders + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Borders

    + +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun valueOf(value: String): Borders

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/left.html b/api/mordant/com.github.ajalt.mordant.table/-borders/left.html new file mode 100755 index 000000000..d6d85f1bc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/left.html @@ -0,0 +1,76 @@ + + + + + left + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    left

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/right.html b/api/mordant/com.github.ajalt.mordant.table/-borders/right.html new file mode 100755 index 000000000..63cf9b3fc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/right.html @@ -0,0 +1,76 @@ + + + + + right + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    right

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/top.html b/api/mordant/com.github.ajalt.mordant.table/-borders/top.html new file mode 100755 index 000000000..5f37c3e04 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/top.html @@ -0,0 +1,76 @@ + + + + + top + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    top

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/value-of.html b/api/mordant/com.github.ajalt.mordant.table/-borders/value-of.html new file mode 100755 index 000000000..bc08db6f6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +
    fun valueOf(value: String): Borders

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-borders/values.html b/api/mordant/com.github.ajalt.mordant.table/-borders/values.html new file mode 100755 index 000000000..0c6bd6fe2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-borders/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-builder/column-span.html b/api/mordant/com.github.ajalt.mordant.table/-cell-builder/column-span.html new file mode 100755 index 000000000..79f40c058 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-builder/column-span.html @@ -0,0 +1,76 @@ + + + + + columnSpan + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    columnSpan

    +
    +
    abstract var columnSpan: Int

    Set the number of columns that this cell should span. The value will be truncated to the width of the table.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-cell-builder/index.html new file mode 100755 index 000000000..97cd986a8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-builder/index.html @@ -0,0 +1,254 @@ + + + + + CellBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CellBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var columnSpan: Int

    Set the number of columns that this cell should span. The value will be truncated to the width of the table.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var rowSpan: Int

    Set the number of rows that this cell should span.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-builder/row-span.html b/api/mordant/com.github.ajalt.mordant.table/-cell-builder/row-span.html new file mode 100755 index 000000000..593a409bf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-builder/row-span.html @@ -0,0 +1,76 @@ + + + + + rowSpan + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    rowSpan

    +
    +
    abstract var rowSpan: Int

    Set the number of rows that this cell should span.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/align.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/align.html new file mode 100755 index 000000000..946f7c888 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/align.html @@ -0,0 +1,76 @@ + + + + + align + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    align

    +
    +
    abstract var align: TextAlign?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/index.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/index.html new file mode 100755 index 000000000..9f0323959 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/index.html @@ -0,0 +1,164 @@ + + + + + CellStyleBuilderBase + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CellStyleBuilderBase

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/overflow-wrap.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/overflow-wrap.html new file mode 100755 index 000000000..3817b8d18 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/overflow-wrap.html @@ -0,0 +1,76 @@ + + + + + overflowWrap + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    overflowWrap

    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/style.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/style.html new file mode 100755 index 000000000..3358e5b22 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/style.html @@ -0,0 +1,76 @@ + + + + + style + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    style

    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    abstract var style: TextStyle?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/whitespace.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/whitespace.html new file mode 100755 index 000000000..8727f66b0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder-base/whitespace.html @@ -0,0 +1,76 @@ + + + + + whitespace + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    whitespace

    +
    +
    abstract var whitespace: Whitespace?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/cell-borders.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/cell-borders.html new file mode 100755 index 000000000..d1b073283 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/cell-borders.html @@ -0,0 +1,76 @@ + + + + + cellBorders + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cellBorders

    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    For cells on the edges of the table, the outside borders can be overridden by tableBorders

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/index.html new file mode 100755 index 000000000..8d057ca23 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/index.html @@ -0,0 +1,224 @@ + + + + + CellStyleBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/padding.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/padding.html new file mode 100755 index 000000000..2e2352d2c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/padding.html @@ -0,0 +1,76 @@ + + + + + padding + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    padding

    +
    +
    open fun padding(all: Int)

    Set the padding around each cell

    If you want to set the padding around the entire layout, use withPadding.


    open fun padding(block: Padding.Builder.() -> Unit)


    abstract var padding: Padding?

    The padding around each cell

    If you want to set the padding around the entire layout, use withPadding.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/vertical-align.html b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/vertical-align.html new file mode 100755 index 000000000..a5a6a3410 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-cell-style-builder/vertical-align.html @@ -0,0 +1,76 @@ + + + + + verticalAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    verticalAlign

    +
    +

    Vertical alignment of cell contents

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-column-builder/index.html new file mode 100755 index 000000000..dfa6bf329 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-builder/index.html @@ -0,0 +1,239 @@ + + + + + ColumnBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ColumnBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var width: ColumnWidth

    Set the width for this column

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-builder/width.html b/api/mordant/com.github.ajalt.mordant.table/-column-builder/width.html new file mode 100755 index 000000000..b654b56b0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-builder/width.html @@ -0,0 +1,76 @@ + + + + + width + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    width

    +
    +
    abstract var width: ColumnWidth

    Set the width for this column

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/add-padding-width-to-fixed-width.html b/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/add-padding-width-to-fixed-width.html new file mode 100755 index 000000000..fc8f76836 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/add-padding-width-to-fixed-width.html @@ -0,0 +1,76 @@ + + + + + addPaddingWidthToFixedWidth + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    addPaddingWidthToFixedWidth

    +
    +

    If false, (the default) padding in fixed width columns will reduce the content width so that the total width is always exactly the specified width.

    If true, padding will be added to the specified width so padding never reduces the content width.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/column.html b/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/column.html new file mode 100755 index 000000000..f7385290b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/column.html @@ -0,0 +1,76 @@ + + + + + column + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    column

    +
    +
    abstract fun column(i: Int, init: ColumnBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/index.html new file mode 100755 index 000000000..812d9f1e1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-holder-builder/index.html @@ -0,0 +1,119 @@ + + + + + ColumnHolderBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ColumnHolderBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false, (the default) padding in fixed width columns will reduce the content width so that the total width is always exactly the specified width.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun column(i: Int, init: ColumnBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/-column-width.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/-column-width.html new file mode 100755 index 000000000..2cf6d79d5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/-column-width.html @@ -0,0 +1,76 @@ + + + + + ColumnWidth + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ColumnWidth

    +
    +
    constructor(priority: Int, width: Int? = null, expandWeight: Float? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-auto.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-auto.html new file mode 100755 index 000000000..3936d9252 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-auto.html @@ -0,0 +1,76 @@ + + + + + Auto + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Auto

    +
    +

    The column will fit to the size of its content

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-expand.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-expand.html new file mode 100755 index 000000000..8db8ac249 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-expand.html @@ -0,0 +1,76 @@ + + + + + Expand + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Expand

    +
    +
    fun Expand(weight: Number = 1.0f): ColumnWidth

    The column will expand to fill the available terminal width.

    If there are multiple expanding columns, the available width will be divided among them proportional to their weights.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-fixed.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-fixed.html new file mode 100755 index 000000000..a79410fd4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/-fixed.html @@ -0,0 +1,76 @@ + + + + + Fixed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Fixed

    +
    +
    fun Fixed(width: Int): ColumnWidth

    The column will have a fixed width.

    The width includes padding, so increasing horizontal padding of a fixed column will decrease content width rather than expand the column.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/index.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/index.html new file mode 100755 index 000000000..4434f4095 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/-companion/index.html @@ -0,0 +1,134 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The column will fit to the size of its content

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Expand(weight: Number = 1.0f): ColumnWidth

    The column will expand to fill the available terminal width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Fixed(width: Int): ColumnWidth

    The column will have a fixed width.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/expand-weight.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/expand-weight.html new file mode 100755 index 000000000..5841ceee4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/expand-weight.html @@ -0,0 +1,76 @@ + + + + + expandWeight + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    expandWeight

    +
    +
    val expandWeight: Float? = null

    The weight of the column when expanding, or null if the column should not expand.

    If there are multiple expanding columns with the same priority, the available width will be divided among them proportional to their weights.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/index.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/index.html new file mode 100755 index 000000000..88506190d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/index.html @@ -0,0 +1,187 @@ + + + + + ColumnWidth + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ColumnWidth

    +
    data class ColumnWidth(val priority: Int, val width: Int? = null, val expandWeight: Float? = null)

    Configuration for how a column should be sized in a table.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(priority: Int, width: Int? = null, expandWeight: Float? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val expandWeight: Float? = null

    The weight of the column when expanding, or null if the column should not expand.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The priority of the column when allocating available width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val width: Int? = null

    The fixed width of the column, or null if the width should be computed automatically

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/priority.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/priority.html new file mode 100755 index 000000000..6272babd2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/priority.html @@ -0,0 +1,76 @@ + + + + + priority + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    priority

    +
    +

    The priority of the column when allocating available width.

    Available width is allocated to columns in decreasing order of priority.

    • Fixed columns have a priority of 3.

    • Auto columns have a priority of 2.

    • Expand columns have a priority of 1.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/to-string.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/to-string.html new file mode 100755 index 000000000..20736152e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    toString

    +
    +
    open override fun toString(): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-column-width/width.html b/api/mordant/com.github.ajalt.mordant.table/-column-width/width.html new file mode 100755 index 000000000..ba03a803d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-column-width/width.html @@ -0,0 +1,76 @@ + + + + + width + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    width

    +
    +
    val width: Int? = null

    The fixed width of the column, or null if the width should be computed automatically

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-a-l-l/index.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-a-l-l/index.html new file mode 100755 index 000000000..db46deea1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-a-l-l/index.html @@ -0,0 +1,115 @@ + + + + + ALL + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ALL

    +

    All fields will be quoted

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-m-i-n-i-m-a-l/index.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-m-i-n-i-m-a-l/index.html new file mode 100755 index 000000000..a18ac1f07 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-m-i-n-i-m-a-l/index.html @@ -0,0 +1,115 @@ + + + + + MINIMAL + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MINIMAL

    +

    Only fields containing the delimiter, the quotechar, or any characters in the lineterminator will be quoted

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-n-o-n-e/index.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-n-o-n-e/index.html new file mode 100755 index 000000000..4385aed1d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-n-o-n-e/index.html @@ -0,0 +1,115 @@ + + + + + NONE + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NONE

    +

    Fields will never be quoted. If a special character (a delimeter, quote, or line terminator) is present in a field, it will be preceded by an escapechar if one is specified, or an IllegalArgumentException will be thrown in escapechar is null.

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-n-o-n-n-u-m-e-r-i-c/index.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-n-o-n-n-u-m-e-r-i-c/index.html new file mode 100755 index 000000000..40f25301f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/-n-o-n-n-u-m-e-r-i-c/index.html @@ -0,0 +1,115 @@ + + + + + NONNUMERIC + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NONNUMERIC

    +

    All fields containing non-numeric characters will be quoted

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/entries.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/entries.html new file mode 100755 index 000000000..9677e78d2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/entries.html @@ -0,0 +1,76 @@ + + + + + entries + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entries

    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    This method may be used to iterate over the enum entries.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/index.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/index.html new file mode 100755 index 000000000..66deba2f2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/index.html @@ -0,0 +1,228 @@ + + + + + CsvQuoting + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CsvQuoting

    + +
    +
    +
    +
    +
    +

    Entries

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    All fields will be quoted

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Only fields containing the delimiter, the quotechar, or any characters in the lineterminator will be quoted

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    All fields containing non-numeric characters will be quoted

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Fields will never be quoted. If a special character (a delimeter, quote, or line terminator) is present in a field, it will be preceded by an escapechar if one is specified, or an IllegalArgumentException will be thrown in escapechar is null.

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns a representation of an immutable list of all enum entries, in the order they're declared.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/value-of.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/value-of.html new file mode 100755 index 000000000..e42c685f0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/value-of.html @@ -0,0 +1,76 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    valueOf

    +
    +

    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

    Throws

    if this enum type has no constant with the specified name

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/values.html b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/values.html new file mode 100755 index 000000000..c3f302b31 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-csv-quoting/values.html @@ -0,0 +1,76 @@ + + + + + values + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    values

    +
    +

    Returns an array containing the constants of this enum type, in the order they're declared.

    This method may be used to iterate over the constants.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-grid-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-grid-builder/index.html new file mode 100755 index 000000000..f931dbdba --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-grid-builder/index.html @@ -0,0 +1,299 @@ + + + + + GridBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false, (the default) padding in fixed width columns will reduce the content width so that the total width is always exactly the specified width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun column(i: Int, init: ColumnBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun row(init: RowBuilder.() -> Unit)

    Add a row.

    abstract fun row(vararg cells: Any?, init: RowBuilder.() -> Unit = {})

    Add a row with one or more cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun rowFrom(cells: Iterable<Any?>, init: RowBuilder.() -> Unit = {})

    Add all cells from an iterable.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun rowStyles(style1: TextStyle, style2: TextStyle, vararg styles: TextStyle)

    Add styles to alternating rows. If there are more rows than styles, the styles will loop.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-horizontal-layout-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-horizontal-layout-builder/index.html new file mode 100755 index 000000000..37db8d1b3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-horizontal-layout-builder/index.html @@ -0,0 +1,269 @@ + + + + + HorizontalLayoutBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    HorizontalLayoutBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false, (the default) padding in fixed width columns will reduce the content width so that the total width is always exactly the specified width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var spacing: Int

    The amount of padding between each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cell(content: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add a cell to this builder.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add multiple cells to this builder

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cellsFrom(cells: Iterable<Any?>, init: CellStyleBuilderBase.() -> Unit = {})

    Add all cells from an iterable to this builder

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun column(i: Int, init: ColumnBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-horizontal-layout-builder/vertical-align.html b/api/mordant/com.github.ajalt.mordant.table/-horizontal-layout-builder/vertical-align.html new file mode 100755 index 000000000..13690ea5a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-horizontal-layout-builder/vertical-align.html @@ -0,0 +1,76 @@ + + + + + verticalAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    verticalAlign

    +
    +

    Vertical alignment of cell contents

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cell.html b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cell.html new file mode 100755 index 000000000..2e8eafc89 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cell.html @@ -0,0 +1,76 @@ + + + + + cell + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cell

    +
    +
    abstract fun cell(content: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add a cell to this builder.

    The content can be a Widget to render, or any other type of object which will be converted to a string.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cells-from.html b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cells-from.html new file mode 100755 index 000000000..98fc246ca --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cells-from.html @@ -0,0 +1,76 @@ + + + + + cellsFrom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cellsFrom

    +
    +
    abstract fun cellsFrom(cells: Iterable<Any?>, init: CellStyleBuilderBase.() -> Unit = {})

    Add all cells from an iterable to this builder

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cells.html b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cells.html new file mode 100755 index 000000000..4d26f6efa --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/cells.html @@ -0,0 +1,76 @@ + + + + + cells + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cells

    +
    +
    abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add multiple cells to this builder

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/index.html new file mode 100755 index 000000000..4b00b9789 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/index.html @@ -0,0 +1,224 @@ + + + + + LinearLayoutBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + + +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var spacing: Int

    The amount of padding between each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cell(content: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add a cell to this builder.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add multiple cells to this builder

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cellsFrom(cells: Iterable<Any?>, init: CellStyleBuilderBase.() -> Unit = {})

    Add all cells from an iterable to this builder

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/spacing.html b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/spacing.html new file mode 100755 index 000000000..1cc88be75 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-linear-layout-builder/spacing.html @@ -0,0 +1,76 @@ + + + + + spacing + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    spacing

    +
    +
    abstract var spacing: Int

    The amount of padding between each cell

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-mordant-dsl/index.html b/api/mordant/com.github.ajalt.mordant.table/-mordant-dsl/index.html new file mode 100755 index 000000000..794cd1db0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-mordant-dsl/index.html @@ -0,0 +1,80 @@ + + + + + MordantDsl + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MordantDsl

    +
    annotation class MordantDsl
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-builder/cell.html b/api/mordant/com.github.ajalt.mordant.table/-row-builder/cell.html new file mode 100755 index 000000000..cc4d6c016 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-builder/cell.html @@ -0,0 +1,76 @@ + + + + + cell + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cell

    +
    +
    abstract fun cell(content: Any?, init: CellBuilder.() -> Unit = {})

    Add a cell to this row.

    The content can be a Widget to render, or any other type of object which will be converted to a string.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-builder/cells-from.html b/api/mordant/com.github.ajalt.mordant.table/-row-builder/cells-from.html new file mode 100755 index 000000000..e6ab0e73b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-builder/cells-from.html @@ -0,0 +1,76 @@ + + + + + cellsFrom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cellsFrom

    +
    +
    abstract fun cellsFrom(cells: Iterable<Any?>, init: CellBuilder.() -> Unit = {})

    Add all cells from an iterable to this row

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-builder/cells.html b/api/mordant/com.github.ajalt.mordant.table/-row-builder/cells.html new file mode 100755 index 000000000..fb3cd3a48 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-builder/cells.html @@ -0,0 +1,76 @@ + + + + + cells + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cells

    +
    +
    abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellBuilder.() -> Unit = {})

    Add multiple cells to this row

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-row-builder/index.html new file mode 100755 index 000000000..03a551215 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-builder/index.html @@ -0,0 +1,269 @@ + + + + + RowBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    RowBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cell(content: Any?, init: CellBuilder.() -> Unit = {})

    Add a cell to this row.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellBuilder.() -> Unit = {})

    Add multiple cells to this row

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cellsFrom(cells: Iterable<Any?>, init: CellBuilder.() -> Unit = {})

    Add all cells from an iterable to this row

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/index.html new file mode 100755 index 000000000..4854bb241 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/index.html @@ -0,0 +1,130 @@ + + + + + RowHolderBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    RowHolderBuilder

    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun row(init: RowBuilder.() -> Unit)

    Add a row.

    abstract fun row(vararg cells: Any?, init: RowBuilder.() -> Unit = {})

    Add a row with one or more cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun rowFrom(cells: Iterable<Any?>, init: RowBuilder.() -> Unit = {})

    Add all cells from an iterable.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun rowStyles(style1: TextStyle, style2: TextStyle, vararg styles: TextStyle)

    Add styles to alternating rows. If there are more rows than styles, the styles will loop.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row-from.html b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row-from.html new file mode 100755 index 000000000..9d4a2c644 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row-from.html @@ -0,0 +1,76 @@ + + + + + rowFrom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    rowFrom

    +
    +
    abstract fun rowFrom(cells: Iterable<Any?>, init: RowBuilder.() -> Unit = {})

    Add all cells from an iterable.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row-styles.html b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row-styles.html new file mode 100755 index 000000000..7c0850688 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row-styles.html @@ -0,0 +1,76 @@ + + + + + rowStyles + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    rowStyles

    +
    +
    abstract fun rowStyles(style1: TextStyle, style2: TextStyle, vararg styles: TextStyle)

    Add styles to alternating rows. If there are more rows than styles, the styles will loop.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row.html b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row.html new file mode 100755 index 000000000..5a0b10826 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-row-holder-builder/row.html @@ -0,0 +1,76 @@ + + + + + row + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    row

    +
    +
    abstract fun row(vararg cells: Any?, init: RowBuilder.() -> Unit = {})

    Add a row with one or more cells.


    abstract fun row(init: RowBuilder.() -> Unit)

    Add a row.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-section-builder/column.html b/api/mordant/com.github.ajalt.mordant.table/-section-builder/column.html new file mode 100755 index 000000000..ed9dd6478 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-section-builder/column.html @@ -0,0 +1,76 @@ + + + + + column + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    column

    +
    +
    abstract fun column(i: Int, init: CellStyleBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-section-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-section-builder/index.html new file mode 100755 index 000000000..1c3db326e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-section-builder/index.html @@ -0,0 +1,284 @@ + + + + + SectionBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    SectionBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun column(i: Int, init: CellStyleBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun row(init: RowBuilder.() -> Unit)

    Add a row.

    abstract fun row(vararg cells: Any?, init: RowBuilder.() -> Unit = {})

    Add a row with one or more cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun rowFrom(cells: Iterable<Any?>, init: RowBuilder.() -> Unit = {})

    Add all cells from an iterable.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun rowStyles(style1: TextStyle, style2: TextStyle, vararg styles: TextStyle)

    Add styles to alternating rows. If there are more rows than styles, the styles will loop.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/body.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/body.html new file mode 100755 index 000000000..c15906358 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/body.html @@ -0,0 +1,76 @@ + + + + + body + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    body

    +
    +
    abstract fun body(init: SectionBuilder.() -> Unit)

    Configure the body section.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/border-style.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/border-style.html new file mode 100755 index 000000000..d6c42db91 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/border-style.html @@ -0,0 +1,76 @@ + + + + + borderStyle + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    borderStyle

    +
    +
    abstract var borderStyle: TextStyle

    A text style to apply to the cell border characters

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/border-type.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/border-type.html new file mode 100755 index 000000000..e3631263c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/border-type.html @@ -0,0 +1,76 @@ + + + + + borderType + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    borderType

    +
    +
    abstract var borderType: BorderType

    The characters to use to draw cell edges

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/caption-bottom.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/caption-bottom.html new file mode 100755 index 000000000..a6ab682cf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/caption-bottom.html @@ -0,0 +1,76 @@ + + + + + captionBottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    captionBottom

    +
    +
    abstract fun captionBottom(widget: Widget)

    Add a widget as a caption to the bottom of this table.


    abstract fun captionBottom(text: String, align: TextAlign = TextAlign.CENTER)

    Add text as a caption to the bottom of this table.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/caption-top.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/caption-top.html new file mode 100755 index 000000000..a5711aeb9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/caption-top.html @@ -0,0 +1,76 @@ + + + + + captionTop + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    captionTop

    +
    +
    abstract fun captionTop(widget: Widget)

    Add a widget as a caption oto the top of this table.


    abstract fun captionTop(text: String, align: TextAlign = TextAlign.CENTER)

    Add text as a caption to the top of this table.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/footer.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/footer.html new file mode 100755 index 000000000..410fafe36 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/footer.html @@ -0,0 +1,76 @@ + + + + + footer + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    footer

    +
    +
    abstract fun footer(init: SectionBuilder.() -> Unit)

    Configure the footer section.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/header.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/header.html new file mode 100755 index 000000000..63a8e4ee7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/header.html @@ -0,0 +1,76 @@ + + + + + header + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    header

    +
    +
    abstract fun header(init: SectionBuilder.() -> Unit)

    Configure the header section.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/index.html new file mode 100755 index 000000000..ed3e1bbc1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/index.html @@ -0,0 +1,374 @@ + + + + + TableBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TableBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false, (the default) padding in fixed width columns will reduce the content width so that the total width is always exactly the specified width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var borderStyle: TextStyle

    A text style to apply to the cell border characters

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var borderType: BorderType

    The characters to use to draw cell edges

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var cellBorders: Borders?

    Borders around each individual cell.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var padding: Padding?

    The padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var tableBorders: Borders?

    Which borders to draw on the outer edge of the table.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Vertical alignment of cell contents

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun body(init: SectionBuilder.() -> Unit)

    Configure the body section.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun captionBottom(widget: Widget)

    Add a widget as a caption to the bottom of this table.

    abstract fun captionBottom(text: String, align: TextAlign = TextAlign.CENTER)

    Add text as a caption to the bottom of this table.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun captionTop(widget: Widget)

    Add a widget as a caption oto the top of this table.

    abstract fun captionTop(text: String, align: TextAlign = TextAlign.CENTER)

    Add text as a caption to the top of this table.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun column(i: Int, init: ColumnBuilder.() -> Unit)

    Configure a single column, which the first column at index 0.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun footer(init: SectionBuilder.() -> Unit)

    Configure the footer section.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun header(init: SectionBuilder.() -> Unit)

    Configure the header section.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun padding(block: Padding.Builder.() -> Unit)

    open fun padding(all: Int)

    Set the padding around each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table-builder/table-borders.html b/api/mordant/com.github.ajalt.mordant.table/-table-builder/table-borders.html new file mode 100755 index 000000000..ab3c8f890 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table-builder/table-borders.html @@ -0,0 +1,76 @@ + + + + + tableBorders + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    tableBorders

    +
    +
    abstract var tableBorders: Borders?

    Which borders to draw on the outer edge of the table.

    This overrides cellBorders for borders on the outer edges of the table. The default values of null will not override cellBorders.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-table/index.html b/api/mordant/com.github.ajalt.mordant.table/-table/index.html new file mode 100755 index 000000000..621bae631 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-table/index.html @@ -0,0 +1,145 @@ + + + + + Table + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Table

    +
    sealed class Table : Widget
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Table.contentToCsv(delimiter: Char = ',', quoteChar: Char = '"', escapeChar: Char? = null, doubleQuote: Boolean = false, lineTerminator: String = "", quoting: CsvQuoting = CsvQuoting.MINIMAL): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun measure(t: Terminal, width: Int = t.size.width): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun render(t: Terminal, width: Int = t.size.width): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-vertical-layout-builder/index.html b/api/mordant/com.github.ajalt.mordant.table/-vertical-layout-builder/index.html new file mode 100755 index 000000000..01ab3339f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-vertical-layout-builder/index.html @@ -0,0 +1,239 @@ + + + + + VerticalLayoutBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    VerticalLayoutBuilder

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var align: TextAlign?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var overflowWrap: OverflowWrap?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var spacing: Int

    The amount of padding between each cell

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var style: TextStyle?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var whitespace: Whitespace?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract var width: ColumnWidth

    Set the width for this layout. By default, the width is Auto and lines are not padded to equal width.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cell(content: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add a cell to this builder.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cells(cell1: Any?, cell2: Any?, vararg cells: Any?, init: CellStyleBuilderBase.() -> Unit = {})

    Add multiple cells to this builder

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cellsFrom(cells: Iterable<Any?>, init: CellStyleBuilderBase.() -> Unit = {})

    Add all cells from an iterable to this builder

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun style(color: Color? = null, bgColor: Color? = null, bold: Boolean = false, italic: Boolean = false, underline: Boolean = false, dim: Boolean = false, inverse: Boolean = false, strikethrough: Boolean = false, hyperlink: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/-vertical-layout-builder/width.html b/api/mordant/com.github.ajalt.mordant.table/-vertical-layout-builder/width.html new file mode 100755 index 000000000..d989e2fa3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/-vertical-layout-builder/width.html @@ -0,0 +1,76 @@ + + + + + width + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    width

    +
    +
    abstract var width: ColumnWidth

    Set the width for this layout. By default, the width is Auto and lines are not padded to equal width.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/content-to-csv.html b/api/mordant/com.github.ajalt.mordant.table/content-to-csv.html new file mode 100755 index 000000000..339feaaac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/content-to-csv.html @@ -0,0 +1,76 @@ + + + + + contentToCsv + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    contentToCsv

    +
    +
    fun Table.contentToCsv(delimiter: Char = ',', quoteChar: Char = '"', escapeChar: Char? = null, doubleQuote: Boolean = false, lineTerminator: String = "", quoting: CsvQuoting = CsvQuoting.MINIMAL): String

    Parameters

    delimiter

    The character used to separate fields

    quoteChar

    The character used to surround fields that contain any of the special characters: delimiter, quoteChar, or lineTerminator

    escapeChar

    The character placed before special characters when quoting is NONE or doubleQuote is false

    doubleQuote

    If true, occurrences of quoteChar inside a quoted field will be doubled. If false, they will be prefixed by escapeChar, or an IllegalArgumentException will be thrown if escapeChar is null.

    lineTerminator

    The character used to terminate lines

    quoting

    The quoting method to use

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/grid.html b/api/mordant/com.github.ajalt.mordant.table/grid.html new file mode 100755 index 000000000..97497d471 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/grid.html @@ -0,0 +1,76 @@ + + + + + grid + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    grid

    +
    +
    fun grid(init: GridBuilder.() -> Unit): Widget

    Build a grid widget that can be used to lay out text and other widgets.

    This builder functions like a table builder, but has no sections and no borders.

    By default, there is one space between cells in a row. You can increase this by adding padding, or remove it by setting cellBorders to NONE.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/horizontal-layout.html b/api/mordant/com.github.ajalt.mordant.table/horizontal-layout.html new file mode 100755 index 000000000..2eb3bec18 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/horizontal-layout.html @@ -0,0 +1,76 @@ + + + + + horizontalLayout + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    horizontalLayout

    +
    +

    Lay out widget in a horizontal row.

    You can set the spacing between each widget in the layout.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/index.html b/api/mordant/com.github.ajalt.mordant.table/index.html new file mode 100755 index 000000000..6f807263c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/index.html @@ -0,0 +1,433 @@ + + + + + com.github.ajalt.mordant.table + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class ColumnWidth(val priority: Int, val width: Int? = null, val expandWeight: Float? = null)

    Configuration for how a column should be sized in a table.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    annotation class MordantDsl
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    sealed class Table : Widget
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Table.contentToCsv(delimiter: Char = ',', quoteChar: Char = '"', escapeChar: Char? = null, doubleQuote: Boolean = false, lineTerminator: String = "", quoting: CsvQuoting = CsvQuoting.MINIMAL): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun grid(init: GridBuilder.() -> Unit): Widget

    Build a grid widget that can be used to lay out text and other widgets.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Lay out widget in a horizontal row.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun table(init: TableBuilder.() -> Unit): Table

    Build a table widget.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Lay out widgets in a vertical column.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/table.html b/api/mordant/com.github.ajalt.mordant.table/table.html new file mode 100755 index 000000000..594156b95 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/table.html @@ -0,0 +1,76 @@ + + + + + table + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    table

    +
    +
    fun table(init: TableBuilder.() -> Unit): Table

    Build a table widget.

    Tables have three optional sections: the header, the body, and the footer.

    Within each section, you can add entire rows of cells at once, or one at a time with the cell builder.

    You can customize the table's styles at a number of levels, with more specific styles overriding less specific styles. The places you can customize are, from least-specific to most-specific:

    1. Table: applies to every cell

    2. Section: applies to all cells in the header, body, or footer

    3. Table Column: applies to all cells in a column

    4. Section Column: applies to all cells in a column for a single section

    5. Row: applies to all cells in a row

    6. Cell: applies to a single cell

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.table/vertical-layout.html b/api/mordant/com.github.ajalt.mordant.table/vertical-layout.html new file mode 100755 index 000000000..ab6dc47b2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.table/vertical-layout.html @@ -0,0 +1,76 @@ + + + + + verticalLayout + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    verticalLayout

    +
    +

    Lay out widgets in a vertical column.

    You can set the spacing between each widget in the layout.

    By default, the rendered layout won't include any trailing whitespace. You can change this behavior by setting align to a value other than NONE

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-jvm-posix/-terminal-interface-jvm-posix.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-jvm-posix/-terminal-interface-jvm-posix.html new file mode 100755 index 000000000..62889d728 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-jvm-posix/-terminal-interface-jvm-posix.html @@ -0,0 +1,78 @@ + + + + + TerminalInterfaceJvmPosix + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceJvmPosix

    +
    +
    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-jvm-posix/index.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-jvm-posix/index.html new file mode 100755 index 000000000..6882c6161 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-jvm-posix/index.html @@ -0,0 +1,316 @@ + + + + + TerminalInterfaceJvmPosix + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceJvmPosix

    +
    +
    +

    A base class for terminal interfaces for JVM POSIX systems that uses System.in for input.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open fun getTerminalSize(): Size?

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun stdinInteractive(): Boolean

    Whether the input stream is detected as interactive.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    open override fun stdoutInteractive(): Boolean

    Whether the output stream is detected as interactive.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-terminal-interface-posix.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-terminal-interface-posix.html new file mode 100755 index 000000000..35f0f1214 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-terminal-interface-posix.html @@ -0,0 +1,76 @@ + + + + + TerminalInterfacePosix + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfacePosix

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-c-s8.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-c-s8.html new file mode 100755 index 000000000..ca57435da --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-c-s8.html @@ -0,0 +1,76 @@ + + + + + CS8 + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CS8

    +
    +
    val CS8: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-e-c-h-o.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-e-c-h-o.html new file mode 100755 index 000000000..396a464b0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-e-c-h-o.html @@ -0,0 +1,76 @@ + + + + + ECHO + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ECHO

    +
    +
    val ECHO: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-c-a-n-o-n.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-c-a-n-o-n.html new file mode 100755 index 000000000..ec194bb3b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-c-a-n-o-n.html @@ -0,0 +1,76 @@ + + + + + ICANON + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ICANON

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-c-r-n-l.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-c-r-n-l.html new file mode 100755 index 000000000..552f08323 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-c-r-n-l.html @@ -0,0 +1,76 @@ + + + + + ICRNL + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ICRNL

    +
    +
    val ICRNL: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-e-x-t-e-n.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-e-x-t-e-n.html new file mode 100755 index 000000000..f53ce0d51 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-e-x-t-e-n.html @@ -0,0 +1,76 @@ + + + + + IEXTEN + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    IEXTEN

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-g-n-c-r.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-g-n-c-r.html new file mode 100755 index 000000000..5f3945a8b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-g-n-c-r.html @@ -0,0 +1,76 @@ + + + + + IGNCR + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    IGNCR

    +
    +
    val IGNCR: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-n-l-c-r.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-n-l-c-r.html new file mode 100755 index 000000000..33c7a9dcf --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-n-l-c-r.html @@ -0,0 +1,76 @@ + + + + + INLCR + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    INLCR

    +
    +
    val INLCR: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-n-p-c-k.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-n-p-c-k.html new file mode 100755 index 000000000..4b892badb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-n-p-c-k.html @@ -0,0 +1,76 @@ + + + + + INPCK + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    INPCK

    +
    +
    val INPCK: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-s-i-g.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-s-i-g.html new file mode 100755 index 000000000..afe8f649a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-s-i-g.html @@ -0,0 +1,76 @@ + + + + + ISIG + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ISIG

    +
    +
    val ISIG: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-s-t-r-i-p.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-s-t-r-i-p.html new file mode 100755 index 000000000..c1a6218e2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-s-t-r-i-p.html @@ -0,0 +1,76 @@ + + + + + ISTRIP + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ISTRIP

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-x-o-n.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-x-o-n.html new file mode 100755 index 000000000..b9764269a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-i-x-o-n.html @@ -0,0 +1,76 @@ + + + + + IXON + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    IXON

    +
    +
    val IXON: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-o-p-o-s-t.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-o-p-o-s-t.html new file mode 100755 index 000000000..567c235e7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-o-p-o-s-t.html @@ -0,0 +1,76 @@ + + + + + OPOST + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    OPOST

    +
    +
    val OPOST: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-termios-constants.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-termios-constants.html new file mode 100755 index 000000000..179ab6147 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-termios-constants.html @@ -0,0 +1,76 @@ + + + + + TermiosConstants + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TermiosConstants

    +
    +
    constructor(VTIME: Int, VMIN: Int, INPCK: UInt, ISTRIP: UInt, INLCR: UInt, IGNCR: UInt, ICRNL: UInt, IXON: UInt, OPOST: UInt, CS8: UInt, ISIG: UInt, ICANON: UInt, ECHO: UInt, IEXTEN: UInt)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-v-m-i-n.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-v-m-i-n.html new file mode 100755 index 000000000..19d4411a2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-v-m-i-n.html @@ -0,0 +1,76 @@ + + + + + VMIN + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    VMIN

    +
    +
    val VMIN: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-v-t-i-m-e.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-v-t-i-m-e.html new file mode 100755 index 000000000..9035d2e10 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/-v-t-i-m-e.html @@ -0,0 +1,76 @@ + + + + + VTIME + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    VTIME

    +
    +
    val VTIME: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/index.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/index.html new file mode 100755 index 000000000..f9872936f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios-constants/index.html @@ -0,0 +1,314 @@ + + + + + TermiosConstants + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TermiosConstants

    +
    data class TermiosConstants(val VTIME: Int, val VMIN: Int, val INPCK: UInt, val ISTRIP: UInt, val INLCR: UInt, val IGNCR: UInt, val ICRNL: UInt, val IXON: UInt, val OPOST: UInt, val CS8: UInt, val ISIG: UInt, val ICANON: UInt, val ECHO: UInt, val IEXTEN: UInt)

    Constants for termios flags and control characters.

    The values for these are platform-specific. https://www.man7.org/linux/man-pages/man3/termios.3.html

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(VTIME: Int, VMIN: Int, INPCK: UInt, ISTRIP: UInt, INLCR: UInt, IGNCR: UInt, ICRNL: UInt, IXON: UInt, OPOST: UInt, CS8: UInt, ISIG: UInt, ICANON: UInt, ECHO: UInt, IEXTEN: UInt)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val CS8: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ECHO: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ICRNL: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val IGNCR: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val INLCR: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val INPCK: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val ISIG: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val IXON: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val OPOST: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val VMIN: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val VTIME: Int
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/-termios.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/-termios.html new file mode 100755 index 000000000..f89f75f5d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/-termios.html @@ -0,0 +1,76 @@ + + + + + Termios + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Termios

    +
    +
    constructor(iflag: UInt, oflag: UInt, cflag: UInt, lflag: UInt, cc: ByteArray)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/cc.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/cc.html new file mode 100755 index 000000000..9bd0d068f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/cc.html @@ -0,0 +1,76 @@ + + + + + cc + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cc

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/cflag.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/cflag.html new file mode 100755 index 000000000..dfe10677e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/cflag.html @@ -0,0 +1,76 @@ + + + + + cflag + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cflag

    +
    +
    val cflag: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/iflag.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/iflag.html new file mode 100755 index 000000000..992a5fab2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/iflag.html @@ -0,0 +1,76 @@ + + + + + iflag + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    iflag

    +
    +
    val iflag: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/index.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/index.html new file mode 100755 index 000000000..5b1a79987 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/index.html @@ -0,0 +1,179 @@ + + + + + Termios + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Termios

    +
    data class Termios(val iflag: UInt, val oflag: UInt, val cflag: UInt, val lflag: UInt, val cc: ByteArray)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(iflag: UInt, oflag: UInt, cflag: UInt, lflag: UInt, cc: ByteArray)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val cflag: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val iflag: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val lflag: UInt
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val oflag: UInt
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/lflag.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/lflag.html new file mode 100755 index 000000000..ea63704a9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/lflag.html @@ -0,0 +1,76 @@ + + + + + lflag + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    lflag

    +
    +
    val lflag: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/oflag.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/oflag.html new file mode 100755 index 000000000..aa888700b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/-termios/oflag.html @@ -0,0 +1,76 @@ + + + + + oflag + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    oflag

    +
    +
    val oflag: UInt
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/enter-raw-mode.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/enter-raw-mode.html new file mode 100755 index 000000000..235b75789 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/enter-raw-mode.html @@ -0,0 +1,76 @@ + + + + + enterRawMode + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    enterRawMode

    +
    +
    open override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    Return

    A scope that will restore the terminal to its previous state when closed.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/get-stdin-termios.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/get-stdin-termios.html new file mode 100755 index 000000000..0f895fce6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/get-stdin-termios.html @@ -0,0 +1,76 @@ + + + + + getStdinTermios + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    getStdinTermios

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/index.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/index.html new file mode 100755 index 000000000..7bfa6eb5e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/index.html @@ -0,0 +1,322 @@ + + + + + TerminalInterfacePosix + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfacePosix

    +

    A terminal interface for POSIX systems.

    This class provides a base interface for POSIX systems like Linux and macOS that use termios for terminal configuration.

    Inheritors

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Termios(val iflag: UInt, val oflag: UInt, val cflag: UInt, val lflag: UInt, val cc: ByteArray)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class TermiosConstants(val VTIME: Int, val VMIN: Int, val INPCK: UInt, val ISTRIP: UInt, val INLCR: UInt, val IGNCR: UInt, val ICRNL: UInt, val IXON: UInt, val OPOST: UInt, val CS8: UInt, val ISIG: UInt, val ICANON: UInt, val ECHO: UInt, val IEXTEN: UInt)

    Constants for termios flags and control characters.

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun getTerminalSize(): Size?

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun stdinInteractive(): Boolean

    Whether the input stream is detected as interactive.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun stdoutInteractive(): Boolean

    Whether the output stream is detected as interactive.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/read-input-event.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/read-input-event.html new file mode 100755 index 000000000..bfa0ffc1a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/read-input-event.html @@ -0,0 +1,76 @@ + + + + + readInputEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readInputEvent

    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    You would return null if you receive an event that should be ignored, like a mouse event when mouse tracking is off.

    Return

    The event, or null if no event is available but this call should be retried

    Parameters

    timeout

    The point in time that this call should block to while waiting for an event. If the timeout is in the past, this method should not block.

    mouseTracking

    The current mouse tracking mode.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/set-stdin-termios.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/set-stdin-termios.html new file mode 100755 index 000000000..e9004b82a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/set-stdin-termios.html @@ -0,0 +1,76 @@ + + + + + setStdinTermios + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    setStdinTermios

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/stdin-interactive.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/stdin-interactive.html new file mode 100755 index 000000000..61d7a07ea --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/stdin-interactive.html @@ -0,0 +1,76 @@ + + + + + stdinInteractive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stdinInteractive

    +
    +
    open override fun stdinInteractive(): Boolean

    Whether the input stream is detected as interactive.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/stdout-interactive.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/stdout-interactive.html new file mode 100755 index 000000000..da7432e66 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/stdout-interactive.html @@ -0,0 +1,76 @@ + + + + + stdoutInteractive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stdoutInteractive

    +
    +
    open override fun stdoutInteractive(): Boolean

    Whether the output stream is detected as interactive.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/termios-constants.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/termios-constants.html new file mode 100755 index 000000000..4b05ee42d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-posix/termios-constants.html @@ -0,0 +1,76 @@ + + + + + termiosConstants + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    termiosConstants

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/-terminal-interface-windows.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/-terminal-interface-windows.html new file mode 100755 index 000000000..d4b9036fe --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/-terminal-interface-windows.html @@ -0,0 +1,76 @@ + + + + + TerminalInterfaceWindows + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceWindows

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/enter-raw-mode.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/enter-raw-mode.html new file mode 100755 index 000000000..fd21a3e6f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/enter-raw-mode.html @@ -0,0 +1,76 @@ + + + + + enterRawMode + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    enterRawMode

    +
    +
    override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    Return

    A scope that will restore the terminal to its previous state when closed.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/index.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/index.html new file mode 100755 index 000000000..9b02268ae --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/index.html @@ -0,0 +1,239 @@ + + + + + TerminalInterfaceWindows + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceWindows

    +

    A base TerminalInterface implementation for Windows systems.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun getTerminalSize(): Size?

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether the input stream is detected as interactive.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether the output stream is detected as interactive.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/read-input-event.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/read-input-event.html new file mode 100755 index 000000000..7454ee8ce --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/-terminal-interface-windows/read-input-event.html @@ -0,0 +1,76 @@ + + + + + readInputEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readInputEvent

    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    You would return null if you receive an event that should be ignored, like a mouse event when mouse tracking is off.

    Return

    The event, or null if no event is available but this call should be retried

    Parameters

    timeout

    The point in time that this call should block to while waiting for an event. If the timeout is in the past, this method should not block.

    mouseTracking

    The current mouse tracking mode.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/index.html b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/index.html new file mode 100755 index 000000000..b989ccdb5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal.terminalinterface/index.html @@ -0,0 +1,132 @@ + + + + + com.github.ajalt.mordant.terminal.terminalinterface + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +

    A base class for terminal interfaces for JVM POSIX systems that uses System.in for input.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A terminal interface for POSIX systems.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A base TerminalInterface implementation for Windows systems.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/create-string.html b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/create-string.html new file mode 100755 index 000000000..28fc98cb8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/create-string.html @@ -0,0 +1,76 @@ + + + + + createString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    createString

    +
    +
    fun createString(firstPrompt: String, secondPrompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", valueMismatchMessage: String = "Values do not match, try again"): ConfirmationPrompt<String>

    Create a ConfirmationPrompt that uses StringPrompts to ask for input.

    All parameters are passed to the StringPrompt constructor.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/create.html b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/create.html new file mode 100755 index 000000000..bef5146b0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/create.html @@ -0,0 +1,76 @@ + + + + + create + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    create

    +
    +
    fun <T : Any> create(firstPrompt: String, secondPrompt: String, valueMismatchMessage: String = "Values do not match, try again", builder: (String) -> Prompt<T>): ConfirmationPrompt<T>

    Create a ConfirmationPrompt from two strings which are passed to a builder to construct the prompt instances.

    Example

    ConfirmationPrompt.create(
    "Delete files?", "Are you sure?"
    ) { YesNoPrompt(it, terminal) }
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/index.html new file mode 100755 index 000000000..ff2f11098 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-companion/index.html @@ -0,0 +1,115 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T : Any> create(firstPrompt: String, secondPrompt: String, valueMismatchMessage: String = "Values do not match, try again", builder: (String) -> Prompt<T>): ConfirmationPrompt<T>

    Create a ConfirmationPrompt from two strings which are passed to a builder to construct the prompt instances.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun createString(firstPrompt: String, secondPrompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", valueMismatchMessage: String = "Values do not match, try again"): ConfirmationPrompt<String>

    Create a ConfirmationPrompt that uses StringPrompts to ask for input.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-confirmation-prompt.html b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-confirmation-prompt.html new file mode 100755 index 000000000..3a790e6c9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/-confirmation-prompt.html @@ -0,0 +1,76 @@ + + + + + ConfirmationPrompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ConfirmationPrompt

    +
    +
    constructor(firstPrompt: Prompt<T>, secondPrompt: Prompt<T>, valueMismatchMessage: String = "Values do not match, try again")
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/ask.html b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/ask.html new file mode 100755 index 000000000..4d94cafc3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/ask.html @@ -0,0 +1,76 @@ + + + + + ask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ask

    +
    +
    fun ask(): T?

    Run the prompt, asking the user for input.

    Return

    The converted user input, or null if EOF was reached before this function was called.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/index.html new file mode 100755 index 000000000..c3cc250a4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-confirmation-prompt/index.html @@ -0,0 +1,138 @@ + + + + + ConfirmationPrompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ConfirmationPrompt

    +
    class ConfirmationPrompt<T : Any>(firstPrompt: Prompt<T>, secondPrompt: Prompt<T>, valueMismatchMessage: String = "Values do not match, try again")

    A prompt that requires the user to enter the same value twice.

    You can create an instance of this class by passing in two Prompts to the constructor, or by using the create or createString methods.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(firstPrompt: Prompt<T>, secondPrompt: Prompt<T>, valueMismatchMessage: String = "Values do not match, try again")
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ask(): T?

    Run the prompt, asking the user for input.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/-invalid.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/-invalid.html new file mode 100755 index 000000000..0e2b8d721 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/-invalid.html @@ -0,0 +1,76 @@ + + + + + Invalid + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Invalid

    +
    +
    constructor(message: String)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/index.html new file mode 100755 index 000000000..a2604b1e5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/index.html @@ -0,0 +1,119 @@ + + + + + Invalid + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Invalid

    +
    data class Invalid(val message: String) : ConversionResult<Nothing>
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(message: String)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/message.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/message.html new file mode 100755 index 000000000..9cc577a9a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-invalid/message.html @@ -0,0 +1,76 @@ + + + + + message + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    message

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/-valid.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/-valid.html new file mode 100755 index 000000000..41a9ccd67 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/-valid.html @@ -0,0 +1,76 @@ + + + + + Valid + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Valid

    +
    +
    constructor(value: T)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/index.html new file mode 100755 index 000000000..21de882c4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/index.html @@ -0,0 +1,119 @@ + + + + + Valid + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Valid

    +
    data class Valid<T>(val value: T) : ConversionResult<T>
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(value: T)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val value: T
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/value.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/value.html new file mode 100755 index 000000000..ab96f4e0f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/-valid/value.html @@ -0,0 +1,76 @@ + + + + + value + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    value

    +
    +
    val value: T
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/index.html new file mode 100755 index 000000000..1da839bdb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-conversion-result/index.html @@ -0,0 +1,115 @@ + + + + + ConversionResult + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ConversionResult

    +
    sealed class ConversionResult<out T>

    Inheritors

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Invalid(val message: String) : ConversionResult<Nothing>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Valid<T>(val value: T) : ConversionResult<T>
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line-after-cursor.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line-after-cursor.html new file mode 100755 index 000000000..79c38972c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line-after-cursor.html @@ -0,0 +1,76 @@ + + + + + clearLineAfterCursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearLineAfterCursor

    +
    +
    abstract fun clearLineAfterCursor()

    Clear the line after the cursor, leaving anything after the cursor unchanged.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line-before-cursor.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line-before-cursor.html new file mode 100755 index 000000000..da8820836 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line-before-cursor.html @@ -0,0 +1,76 @@ + + + + + clearLineBeforeCursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearLineBeforeCursor

    +
    +
    abstract fun clearLineBeforeCursor()

    Clear the line before the cursor, leaving anything after the cursor unchanged.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line.html new file mode 100755 index 000000000..59a5172ec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-line.html @@ -0,0 +1,76 @@ + + + + + clearLine + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearLine

    +
    +
    abstract fun clearLine()

    Clear the current line.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen-after-cursor.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen-after-cursor.html new file mode 100755 index 000000000..25fef6a33 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen-after-cursor.html @@ -0,0 +1,76 @@ + + + + + clearScreenAfterCursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearScreenAfterCursor

    +
    +
    abstract fun clearScreenAfterCursor()

    Clear the screen after the cursor, leaving anything before the cursor unchanged.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen-before-cursor.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen-before-cursor.html new file mode 100755 index 000000000..2580a23ab --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen-before-cursor.html @@ -0,0 +1,76 @@ + + + + + clearScreenBeforeCursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearScreenBeforeCursor

    +
    +

    Clear the screen before the cursor, leaving anything after the cursor unchanged.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen.html new file mode 100755 index 000000000..c2a177e50 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/clear-screen.html @@ -0,0 +1,76 @@ + + + + + clearScreen + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearScreen

    +
    +
    abstract fun clearScreen()

    Clear the entire terminal screen.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/down.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/down.html new file mode 100755 index 000000000..a9888d87e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/down.html @@ -0,0 +1,76 @@ + + + + + down + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    down

    +
    +
    abstract fun down(count: Int)

    Move the cursor down count cells.

    If count is 0, this call does nothing. If count is negative, the cursor will be moved up instead.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/index.html new file mode 100755 index 000000000..1ea42772e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/index.html @@ -0,0 +1,295 @@ + + + + + CursorMovements + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CursorMovements

    +
    interface CursorMovements
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clearLine()

    Clear the current line.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clearLineAfterCursor()

    Clear the line after the cursor, leaving anything after the cursor unchanged.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clearLineBeforeCursor()

    Clear the line before the cursor, leaving anything after the cursor unchanged.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clearScreen()

    Clear the entire terminal screen.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun clearScreenAfterCursor()

    Clear the screen after the cursor, leaving anything before the cursor unchanged.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Clear the screen before the cursor, leaving anything after the cursor unchanged.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun down(count: Int)

    Move the cursor down count cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun left(count: Int)

    Move the cursor left count cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun restorePosition()

    Move the cursor to the position saved with a prior savePosition call.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun right(count: Int)

    Move the cursor right count cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun savePosition()

    Save the current cursor position. Restore it with restorePosition

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun setPosition(x: Int, y: Int)

    Set the cursor to an absolute position.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun startOfLine()

    Move the cursor to the start of the current line

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun up(count: Int)

    Move the cursor up count cells.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/left.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/left.html new file mode 100755 index 000000000..d42ed2e99 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/left.html @@ -0,0 +1,76 @@ + + + + + left + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    left

    +
    +
    abstract fun left(count: Int)

    Move the cursor left count cells.

    If count is 0, this call does nothing. If count is negative, the cursor will be moved right instead.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/restore-position.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/restore-position.html new file mode 100755 index 000000000..28b04d098 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/restore-position.html @@ -0,0 +1,76 @@ + + + + + restorePosition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    restorePosition

    +
    +
    abstract fun restorePosition()

    Move the cursor to the position saved with a prior savePosition call.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/right.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/right.html new file mode 100755 index 000000000..584e90cc5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/right.html @@ -0,0 +1,76 @@ + + + + + right + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    right

    +
    +
    abstract fun right(count: Int)

    Move the cursor right count cells.

    If count is 0, this call does nothing. If count is negative, the cursor will be moved left instead.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/save-position.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/save-position.html new file mode 100755 index 000000000..4dba89ff1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/save-position.html @@ -0,0 +1,76 @@ + + + + + savePosition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    savePosition

    +
    +
    abstract fun savePosition()

    Save the current cursor position. Restore it with restorePosition

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/set-position.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/set-position.html new file mode 100755 index 000000000..e6e2873a7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/set-position.html @@ -0,0 +1,76 @@ + + + + + setPosition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    setPosition

    +
    +
    abstract fun setPosition(x: Int, y: Int)

    Set the cursor to an absolute position.

    x and y are 0-indexed, with (0, 0) being the top-left corner.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/start-of-line.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/start-of-line.html new file mode 100755 index 000000000..dfaf156d4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/start-of-line.html @@ -0,0 +1,76 @@ + + + + + startOfLine + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    startOfLine

    +
    +
    abstract fun startOfLine()

    Move the cursor to the start of the current line

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/up.html b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/up.html new file mode 100755 index 000000000..4188a2339 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-cursor-movements/up.html @@ -0,0 +1,76 @@ + + + + + up + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    up

    +
    +
    abstract fun up(count: Int)

    Move the cursor up count cells.

    If count is 0, this call does nothing. If count is negative, the cursor will be moved down instead.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-print-request/-print-request.html b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/-print-request.html new file mode 100755 index 000000000..8e7542e6e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/-print-request.html @@ -0,0 +1,76 @@ + + + + + PrintRequest + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    PrintRequest

    +
    +
    constructor(text: String, trailingLinebreak: Boolean, stderr: Boolean)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-print-request/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/index.html new file mode 100755 index 000000000..66ac468a0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/index.html @@ -0,0 +1,149 @@ + + + + + PrintRequest + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    PrintRequest

    +
    data class PrintRequest(val text: String, val trailingLinebreak: Boolean, val stderr: Boolean)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(text: String, trailingLinebreak: Boolean, stderr: Boolean)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If True, the text should be written to stderr instead of stdout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The Text to print

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If True, a trailing linebreak should be written after the text.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-print-request/stderr.html b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/stderr.html new file mode 100755 index 000000000..1a2b331c4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/stderr.html @@ -0,0 +1,76 @@ + + + + + stderr + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stderr

    +
    +

    If True, the text should be written to stderr instead of stdout.

    If this terminal doesn't have separate output streams, this can be ignored.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-print-request/text.html b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/text.html new file mode 100755 index 000000000..e9d07d1d2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/text.html @@ -0,0 +1,76 @@ + + + + + text + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    text

    +
    +

    The Text to print

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-print-request/trailing-linebreak.html b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/trailing-linebreak.html new file mode 100755 index 000000000..d636adc3c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-print-request/trailing-linebreak.html @@ -0,0 +1,76 @@ + + + + + trailingLinebreak + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    trailingLinebreak

    +
    +

    If True, a trailing linebreak should be written after the text.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-prompt/-prompt.html b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/-prompt.html new file mode 100755 index 000000000..db07f6d4b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/-prompt.html @@ -0,0 +1,76 @@ + + + + + Prompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Prompt

    +
    +
    constructor(prompt: String, terminal: Terminal, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ")
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-prompt/ask.html b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/ask.html new file mode 100755 index 000000000..357564fd9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/ask.html @@ -0,0 +1,76 @@ + + + + + ask + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ask

    +
    +
    open fun ask(): T?

    Run the prompt, asking the user for input.

    Return

    The converted user input, or null if EOF was reached before this function was called.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-prompt/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/index.html new file mode 100755 index 000000000..3831cc788 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/index.html @@ -0,0 +1,138 @@ + + + + + Prompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Prompt

    +
    abstract class Prompt<T>(prompt: String, val terminal: Terminal, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ")

    The base class for prompts.

    ask will print the prompt and ask for a line of user input and return the result of passing that line to convert. If convert instead returns ConversionResult.Invalid, its message will be printed and the user will be asked for input again.

    Theme styles used

    • prompt.prompt: applied to the prompt string

    • prompt.choices: applied to the rendered choices values when shown in the prompt

    • prompt.default: applied to the rendered default value when shown in the prompt

    • prompt.choices.invalid: applied to the invalidChoiceMessage when shown

    • danger: applied to the error message returned by convert

    Inheritors

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(prompt: String, terminal: Terminal, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ")
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The terminal to use

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun ask(): T?

    Run the prompt, asking the user for input.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-prompt/terminal.html b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/terminal.html new file mode 100755 index 000000000..4a494d4ef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-prompt/terminal.html @@ -0,0 +1,76 @@ + + + + + terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    terminal

    +
    +

    The terminal to use

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/-standard-terminal-interface.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/-standard-terminal-interface.html new file mode 100755 index 000000000..b2693bdb3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/-standard-terminal-interface.html @@ -0,0 +1,76 @@ + + + + + StandardTerminalInterface + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    StandardTerminalInterface

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/complete-print-request.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/complete-print-request.html new file mode 100755 index 000000000..e1a16a8a5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/complete-print-request.html @@ -0,0 +1,76 @@ + + + + + completePrintRequest + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completePrintRequest

    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/index.html new file mode 100755 index 000000000..d55523cd9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/index.html @@ -0,0 +1,239 @@ + + + + + StandardTerminalInterface + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    StandardTerminalInterface

    +

    A base class for terminal interfaces that prints using standard kotlin.io functions.

    Inheritors

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun getTerminalSize(): Size?

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether the input stream is detected as interactive.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Whether the output stream is detected as interactive.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/info.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/info.html new file mode 100755 index 000000000..37eed7465 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/info.html @@ -0,0 +1,76 @@ + + + + + info + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    info

    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    Parameters

    ansiLevel

    The level of ANSI codes to use, or null to autodetect.

    hyperlinks

    Whether to enable hyperlink support, or null to autodetect.

    outputInteractive

    Whether the output stream is interactive. If null, it will be autodetected.

    inputInteractive

    Whether the input stream is interactive. If null, it will be autodetected.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/read-line-or-null.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/read-line-or-null.html new file mode 100755 index 000000000..ee6273be4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/read-line-or-null.html @@ -0,0 +1,76 @@ + + + + + readLineOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readLineOrNull

    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    Parameters

    hideInput

    If true, treat the input like a password that should not be echoed to the screen as it's typed.

    Throws

    if the current interface doesn't support reading input. Currently, all targets are supported by default except Browser JS.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/stdin-interactive.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/stdin-interactive.html new file mode 100755 index 000000000..0f1ef737a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/stdin-interactive.html @@ -0,0 +1,76 @@ + + + + + stdinInteractive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stdinInteractive

    +
    +

    Whether the input stream is detected as interactive.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/stdout-interactive.html b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/stdout-interactive.html new file mode 100755 index 000000000..3cf05f32a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-standard-terminal-interface/stdout-interactive.html @@ -0,0 +1,76 @@ + + + + + stdoutInteractive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stdoutInteractive

    +
    +

    Whether the output stream is detected as interactive.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-string-prompt/-string-prompt.html b/api/mordant/com.github.ajalt.mordant.terminal/-string-prompt/-string-prompt.html new file mode 100755 index 000000000..502849912 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-string-prompt/-string-prompt.html @@ -0,0 +1,76 @@ + + + + + StringPrompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    StringPrompt

    +
    +
    constructor(prompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", allowBlank: Boolean = true)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-string-prompt/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-string-prompt/index.html new file mode 100755 index 000000000..0204d292e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-string-prompt/index.html @@ -0,0 +1,138 @@ + + + + + StringPrompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    StringPrompt

    +
    class StringPrompt(prompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", allowBlank: Boolean = true) : Prompt<String>

    A Prompt that returns the user input unchanged.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(prompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", allowBlank: Boolean = true)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The terminal to use

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun ask(): String?

    Run the prompt, asking the user for input.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/get-moves.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/get-moves.html new file mode 100755 index 000000000..9f893295a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/get-moves.html @@ -0,0 +1,76 @@ + + + + + getMoves + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    getMoves

    +
    +
    abstract fun getMoves(movements: CursorMovements.() -> Unit): String

    Return a string contianing the ANSI codes for the movements commands called in movements.

    If the terminal is not interactive, this will always return an empty string.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/hide.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/hide.html new file mode 100755 index 000000000..71d4759c3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/hide.html @@ -0,0 +1,76 @@ + + + + + hide + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    hide

    +
    +
    abstract fun hide(showOnExit: Boolean = true)

    Hide the cursor

    Parameters

    showOnExit

    By default, the cursor will be shown again when the program terminates. If false, the cursor will remain hidden

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/index.html new file mode 100755 index 000000000..5c4c6fa35 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/index.html @@ -0,0 +1,145 @@ + + + + + TerminalCursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalCursor

    +
    interface TerminalCursor
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun getMoves(movements: CursorMovements.() -> Unit): String

    Return a string contianing the ANSI codes for the movements commands called in movements.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun hide(showOnExit: Boolean = true)

    Hide the cursor

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun move(movements: CursorMovements.() -> Unit)

    Print the movement commands called in movements.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun show()

    Show the cursor

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/move.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/move.html new file mode 100755 index 000000000..195219a4a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/move.html @@ -0,0 +1,76 @@ + + + + + move + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    move

    +
    +
    abstract fun move(movements: CursorMovements.() -> Unit)

    Print the movement commands called in movements.

    If the terminal is not interactive, this call does nothing.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/show.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/show.html new file mode 100755 index 000000000..ee4e79593 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-cursor/show.html @@ -0,0 +1,76 @@ + + + + + show + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    show

    +
    +
    abstract fun show()

    Show the cursor

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-detection/detect-terminal.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-detection/detect-terminal.html new file mode 100755 index 000000000..942347c8f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-detection/detect-terminal.html @@ -0,0 +1,76 @@ + + + + + detectTerminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    detectTerminal

    +
    +
    fun detectTerminal(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, forceInputInteractive: Boolean?, forceOutputInteractive: Boolean?, detectedStdinInteractive: Boolean, detectedStdoutInteractive: Boolean): TerminalInfo

    Detect information about the current terminal.

    Parameters

    ansiLevel

    The desired level of ANSI support. If null, the level will be detected.

    hyperlinks

    Whether to enable hyperlink support. If null, hyperlinks support will be detected.

    forceInputInteractive

    Force stdin to be treated as interactive. If null, stdin will be detected.

    forceOutputInteractive

    Force stdout to be treated as interactive. If null, stdout will be detected.

    detectedStdinInteractive

    Whether stdin was detected as interactive.

    detectedStdoutInteractive

    Whether stdout was detected as interactive.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-detection/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-detection/index.html new file mode 100755 index 000000000..2feb337f1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-detection/index.html @@ -0,0 +1,100 @@ + + + + + TerminalDetection + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalDetection

    +

    Detect information about the current terminal.

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun detectTerminal(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, forceInputInteractive: Boolean?, forceOutputInteractive: Boolean?, detectedStdinInteractive: Boolean, detectedStdoutInteractive: Boolean): TerminalInfo

    Detect information about the current terminal.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/-terminal-info.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/-terminal-info.html new file mode 100755 index 000000000..904650064 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/-terminal-info.html @@ -0,0 +1,76 @@ + + + + + TerminalInfo + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInfo

    +
    +
    constructor(ansiLevel: AnsiLevel, ansiHyperLinks: Boolean, outputInteractive: Boolean, inputInteractive: Boolean, supportsAnsiCursor: Boolean)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/ansi-hyper-links.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/ansi-hyper-links.html new file mode 100755 index 000000000..50ab3aefd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/ansi-hyper-links.html @@ -0,0 +1,76 @@ + + + + + ansiHyperLinks + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ansiHyperLinks

    +
    +

    If true, ANSI hyperlink codes can be used

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/ansi-level.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/ansi-level.html new file mode 100755 index 000000000..b2aae4145 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/ansi-level.html @@ -0,0 +1,76 @@ + + + + + ansiLevel + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ansiLevel

    +
    +

    The level of ANSI codes to use when printing to the terminal

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/index.html new file mode 100755 index 000000000..db370cc50 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/index.html @@ -0,0 +1,194 @@ + + + + + TerminalInfo + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInfo

    +
    data class TerminalInfo(var ansiLevel: AnsiLevel, var ansiHyperLinks: Boolean, val outputInteractive: Boolean, val inputInteractive: Boolean, val supportsAnsiCursor: Boolean)

    Information about the current terminal

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(ansiLevel: AnsiLevel, ansiHyperLinks: Boolean, outputInteractive: Boolean, inputInteractive: Boolean, supportsAnsiCursor: Boolean)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If true, ANSI hyperlink codes can be used

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The level of ANSI codes to use when printing to the terminal

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false the intput stream is not an interactive terminal, such as when it's redirected from a file

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return true if both input and output are interactive

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false the output stream is not an interactive terminal, such as when it's redirected to a file.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If false using ANSI cursor movement codes may not work.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/input-interactive.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/input-interactive.html new file mode 100755 index 000000000..6d1170742 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/input-interactive.html @@ -0,0 +1,76 @@ + + + + + inputInteractive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    inputInteractive

    +
    +

    If false the intput stream is not an interactive terminal, such as when it's redirected from a file

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/interactive.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/interactive.html new file mode 100755 index 000000000..58a8fdd46 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/interactive.html @@ -0,0 +1,76 @@ + + + + + interactive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    interactive

    +
    +

    Return true if both input and output are interactive

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/output-interactive.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/output-interactive.html new file mode 100755 index 000000000..ac7ecc380 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/output-interactive.html @@ -0,0 +1,76 @@ + + + + + outputInteractive + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    outputInteractive

    +
    +

    If false the output stream is not an interactive terminal, such as when it's redirected to a file.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/supports-ansi-cursor.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/supports-ansi-cursor.html new file mode 100755 index 000000000..2e38f25a3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-info/supports-ansi-cursor.html @@ -0,0 +1,76 @@ + + + + + supportsAnsiCursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    supportsAnsiCursor

    +
    +

    If false using ANSI cursor movement codes may not work.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface-provider/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface-provider/index.html new file mode 100755 index 000000000..45efd2c18 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface-provider/index.html @@ -0,0 +1,100 @@ + + + + + TerminalInterfaceProvider + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterfaceProvider

    +

    A provider for a TerminalInterface.

    Implementations of this interface are loaded via the ServiceLoader mechanism, and should be declared in the META-INF/services/com.github.ajalt.mordant.terminal.TerminalInterfaceProvider file.

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun load(): TerminalInterface?

    Load the terminal interface.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface-provider/load.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface-provider/load.html new file mode 100755 index 000000000..78c16c3eb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface-provider/load.html @@ -0,0 +1,76 @@ + + + + + load + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    load

    +
    +
    abstract fun load(): TerminalInterface?

    Load the terminal interface.

    Return

    The terminal interface, or null if it could not be loaded.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/complete-print-request.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/complete-print-request.html new file mode 100755 index 000000000..5dbae45e9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/complete-print-request.html @@ -0,0 +1,76 @@ + + + + + completePrintRequest + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completePrintRequest

    +
    +
    abstract fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/enter-raw-mode.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/enter-raw-mode.html new file mode 100755 index 000000000..793f5f1f3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/enter-raw-mode.html @@ -0,0 +1,76 @@ + + + + + enterRawMode + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    enterRawMode

    +
    +
    open fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    Return

    A scope that will restore the terminal to its previous state when closed.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/get-terminal-size.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/get-terminal-size.html new file mode 100755 index 000000000..09a543a24 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/get-terminal-size.html @@ -0,0 +1,76 @@ + + + + + getTerminalSize + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    getTerminalSize

    +
    +
    open fun getTerminalSize(): Size?

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/index.html new file mode 100755 index 000000000..843d7f7ea --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/index.html @@ -0,0 +1,190 @@ + + + + + TerminalInterface + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalInterface

    + +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun getTerminalSize(): Size?

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/info.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/info.html new file mode 100755 index 000000000..28dd73272 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/info.html @@ -0,0 +1,76 @@ + + + + + info + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    info

    +
    +
    abstract fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    Parameters

    ansiLevel

    The level of ANSI codes to use, or null to autodetect.

    hyperlinks

    Whether to enable hyperlink support, or null to autodetect.

    outputInteractive

    Whether the output stream is interactive. If null, it will be autodetected.

    inputInteractive

    Whether the input stream is interactive. If null, it will be autodetected.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/read-input-event.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/read-input-event.html new file mode 100755 index 000000000..5065f28f5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/read-input-event.html @@ -0,0 +1,76 @@ + + + + + readInputEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readInputEvent

    +
    +
    open fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    You would return null if you receive an event that should be ignored, like a mouse event when mouse tracking is off.

    Return

    The event, or null if no event is available but this call should be retried

    Parameters

    timeout

    The point in time that this call should block to while waiting for an event. If the timeout is in the past, this method should not block.

    mouseTracking

    The current mouse tracking mode.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/read-line-or-null.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/read-line-or-null.html new file mode 100755 index 000000000..d9f8f2df6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/read-line-or-null.html @@ -0,0 +1,76 @@ + + + + + readLineOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readLineOrNull

    +
    +
    abstract fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    Parameters

    hideInput

    If true, treat the input like a password that should not be echoed to the screen as it's typed.

    Throws

    if the current interface doesn't support reading input. Currently, all targets are supported by default except Browser JS.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/should-auto-update-size.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/should-auto-update-size.html new file mode 100755 index 000000000..c44aba37f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-interface/should-auto-update-size.html @@ -0,0 +1,76 @@ + + + + + shouldAutoUpdateSize + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    shouldAutoUpdateSize

    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/-terminal-recorder.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/-terminal-recorder.html new file mode 100755 index 000000000..848b404ae --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/-terminal-recorder.html @@ -0,0 +1,76 @@ + + + + + TerminalRecorder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalRecorder

    +
    +
    constructor(ansiLevel: AnsiLevel = AnsiLevel.TRUECOLOR, width: Int = 79, height: Int = 24, hyperlinks: Boolean = ansiLevel != AnsiLevel.NONE, outputInteractive: Boolean = ansiLevel != AnsiLevel.NONE, inputInteractive: Boolean = ansiLevel != AnsiLevel.NONE, supportsAnsiCursor: Boolean = false)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/clear-output.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/clear-output.html new file mode 100755 index 000000000..7c6661c58 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/clear-output.html @@ -0,0 +1,76 @@ + + + + + clearOutput + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    clearOutput

    +
    +

    Clear stdout, stderr, and output

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/complete-print-request.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/complete-print-request.html new file mode 100755 index 000000000..91dbda02b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/complete-print-request.html @@ -0,0 +1,76 @@ + + + + + completePrintRequest + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completePrintRequest

    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/enter-raw-mode.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/enter-raw-mode.html new file mode 100755 index 000000000..b5329e26a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/enter-raw-mode.html @@ -0,0 +1,76 @@ + + + + + enterRawMode + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    enterRawMode

    +
    +
    open override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    Return

    A scope that will restore the terminal to its previous state when closed.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/get-terminal-size.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/get-terminal-size.html new file mode 100755 index 000000000..bc7ce813e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/get-terminal-size.html @@ -0,0 +1,76 @@ + + + + + getTerminalSize + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    getTerminalSize

    +
    +
    open override fun getTerminalSize(): Size

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/index.html new file mode 100755 index 000000000..f208f8728 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/index.html @@ -0,0 +1,318 @@ + + + + + TerminalRecorder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TerminalRecorder

    +

    A TerminalInterface that records all output and allows you to provide input.

    Exmaple

    val recorder = TerminalRecorder()
    val t = Terminal(terminalInterface = recorder)
    t.println("Hello, world!")
    assertEquals(recorder.output(), "Hello, world!\n")
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(ansiLevel: AnsiLevel = AnsiLevel.TRUECOLOR, width: Int = 79, height: Int = 24, hyperlinks: Boolean = ansiLevel != AnsiLevel.NONE, outputInteractive: Boolean = ansiLevel != AnsiLevel.NONE, inputInteractive: Boolean = ansiLevel != AnsiLevel.NONE, supportsAnsiCursor: Boolean = false)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Input events to return when reading in raw mode

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Lines of input to return from readLineOrNull.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Clear stdout, stderr, and output

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun completePrintRequest(request: PrintRequest)

    Display a PrintRequest on this terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun enterRawMode(mouseTracking: MouseTracking): AutoCloseable

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual character.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun getTerminalSize(): Size

    Return the current size, in cells, of the terminal, or null if the size is unknown.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun output(): String

    The combined content of stdout and stderr

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun TerminalRecorder.outputAsHtml(includeBodyTag: Boolean = true, includeCodeTag: Boolean = true, backgroundColor: Color? = SRGB("#0c0c0c")): String

    Render the contents of this TerminalRecorder as an HTML document.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return true if the getTerminalSize method should be called frequently to update the size.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun stderr(): String

    The content written to stderr

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun stdout(): String

    The content written to stdout

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/info.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/info.html new file mode 100755 index 000000000..6c9bb22f2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/info.html @@ -0,0 +1,76 @@ + + + + + info + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    info

    +
    +
    open override fun info(ansiLevel: AnsiLevel?, hyperlinks: Boolean?, outputInteractive: Boolean?, inputInteractive: Boolean?): TerminalInfo

    Get information about the current terminal.

    Parameters

    ansiLevel

    The level of ANSI codes to use, or null to autodetect.

    hyperlinks

    Whether to enable hyperlink support, or null to autodetect.

    outputInteractive

    Whether the output stream is interactive. If null, it will be autodetected.

    inputInteractive

    Whether the input stream is interactive. If null, it will be autodetected.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/input-events.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/input-events.html new file mode 100755 index 000000000..381d03857 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/input-events.html @@ -0,0 +1,76 @@ + + + + + inputEvents + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    inputEvents

    +
    +

    Input events to return when reading in raw mode

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/input-lines.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/input-lines.html new file mode 100755 index 000000000..adc0600ae --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/input-lines.html @@ -0,0 +1,76 @@ + + + + + inputLines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    inputLines

    +
    +

    Lines of input to return from readLineOrNull.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/output.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/output.html new file mode 100755 index 000000000..71abf551e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/output.html @@ -0,0 +1,76 @@ + + + + + output + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    output

    +
    +
    fun output(): String

    The combined content of stdout and stderr

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/read-input-event.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/read-input-event.html new file mode 100755 index 000000000..ad5b1b45c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/read-input-event.html @@ -0,0 +1,76 @@ + + + + + readInputEvent + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readInputEvent

    +
    +
    open override fun readInputEvent(timeout: TimeMark, mouseTracking: MouseTracking): InputEvent?

    Read a single input event from the terminal, or null if no event is available but this call should be retried immediately.

    You would return null if you receive an event that should be ignored, like a mouse event when mouse tracking is off.

    Return

    The event, or null if no event is available but this call should be retried

    Parameters

    timeout

    The point in time that this call should block to while waiting for an event. If the timeout is in the past, this method should not block.

    mouseTracking

    The current mouse tracking mode.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/read-line-or-null.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/read-line-or-null.html new file mode 100755 index 000000000..9829e3c93 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/read-line-or-null.html @@ -0,0 +1,76 @@ + + + + + readLineOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readLineOrNull

    +
    +
    open override fun readLineOrNull(hideInput: Boolean): String?

    Read a single line of input from stdin, returning null if no input is available

    Parameters

    hideInput

    If true, treat the input like a password that should not be echoed to the screen as it's typed.

    Throws

    if the current interface doesn't support reading input. Currently, all targets are supported by default except Browser JS.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/stderr.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/stderr.html new file mode 100755 index 000000000..ae3642941 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/stderr.html @@ -0,0 +1,76 @@ + + + + + stderr + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stderr

    +
    +
    fun stderr(): String

    The content written to stderr

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/stdout.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/stdout.html new file mode 100755 index 000000000..4c34a52c6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal-recorder/stdout.html @@ -0,0 +1,76 @@ + + + + + stdout + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    stdout

    +
    +
    fun stdout(): String

    The content written to stdout

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/-terminal.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/-terminal.html new file mode 100755 index 000000000..331313d13 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/-terminal.html @@ -0,0 +1,76 @@ + + + + + Terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Terminal

    +
    +
    constructor(ansiLevel: AnsiLevel? = null, theme: Theme = Theme.Default, width: Int? = null, height: Int? = null, nonInteractiveWidth: Int? = null, nonInteractiveHeight: Int? = null, hyperlinks: Boolean? = null, tabWidth: Int = 8, interactive: Boolean? = null, terminalInterface: TerminalInterface = STANDARD_TERM_INTERFACE)

    Parameters

    ansiLevel

    The level of color support to use, or null to detect the level of the current terminal

    theme

    The theme to use for widgets and styles like success

    width

    The width to render widget and wrap text, or null to detect the current width.

    height

    The height of the terminal to use when rendering widgets, or null to detect the current width.

    nonInteractiveWidth

    The width to use when the terminal is not interactive, or null to use the default of 79 columns.

    nonInteractiveHeight

    The height to use when the terminal is not interactive, or null to use the default of 24 rows.

    hyperlinks

    whether to render hyperlinks using ANSI codes, or null to detect the capability

    tabWidth

    The number of spaces to use for \t characters

    interactive

    Set to true to always use color codes, even if stdout is redirected to a file, or null to detect the capability. This can be useful if you expect to call your program from some other source like gradle that forwards the output to the terminal.

    terminalInterface

    The terminal interface to use to interact with the terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/cursor.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/cursor.html new file mode 100755 index 000000000..156f23982 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/cursor.html @@ -0,0 +1,76 @@ + + + + + cursor + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cursor

    +
    +

    Functions for controlling the terminal's cursor.

    If the terminal is not interactive, all the cursor functions are no-ops.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/index.html new file mode 100755 index 000000000..2bbe1eb2b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/index.html @@ -0,0 +1,513 @@ + + + + + Terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Terminal

    +
    class Terminal

    Functions for printing styled text to the terminal.

    Use functions like print and println instead of kotlin.io.println to automatically downsample any TextColors and TextStyles you use in strings, and to render widgets like table and HorizontalRule.

    The default constructor for this class will detect the current terminal capabilities, but you can override this detection by passing your desired value for ansiLevel, hyperlinks, and interactive.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(ansiLevel: AnsiLevel? = null, theme: Theme = Theme.Default, width: Int? = null, height: Int? = null, nonInteractiveWidth: Int? = null, nonInteractiveHeight: Int? = null, hyperlinks: Boolean? = null, tabWidth: Int = 8, interactive: Boolean? = null, terminalInterface: TerminalInterface = STANDARD_TERM_INTERFACE)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Functions for controlling the terminal's cursor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val size: Size

    The current size of the terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The number of spaces to use when printing tab characters.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The terminal capabilities that were detected or set in the constructor.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The interface to use to interact with the system terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The theme to use when rendering widgets

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.animation(crossinline draw: (T) -> Widget): Animation<T>

    Create an Animation that uses the draw function to render objects of type T.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.danger(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.danger style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.enterRawMode(mouseTracking: MouseTracking = MouseTracking.Off): RawModeScope

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual input events.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.enterRawModeOrNull(mouseTracking: MouseTracking = MouseTracking.Off): RawModeScope?

    Enter raw mode on the terminal, disabling line buffering and echoing to enable reading individual input events.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.info(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.info style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    @JvmName(name = "interactiveMultiSelectListEntry")
    fun Terminal.interactiveMultiSelectList(entries: Iterable<SelectList.Entry>, title: String = ""): List<String>?
    @JvmName(name = "interactiveMultiSelectListString")
    fun Terminal.interactiveMultiSelectList(entries: Iterable<String>, title: String = ""): List<String>?

    Display a list of items and allow the user to select zero or more with the arrow keys and enter.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    @JvmName(name = "interactiveSelectListEntry")
    fun Terminal.interactiveSelectList(entries: Iterable<SelectList.Entry>, title: String = ""): String?
    @JvmName(name = "interactiveSelectListString")
    fun Terminal.interactiveSelectList(entries: Iterable<String>, title: String = ""): String?

    Display a list of items and allow the user to select one with the arrow keys and enter.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.muted(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.muted style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun print(widget: Widget, stderr: Boolean = false)

    Print a widget to the terminal.

    fun print(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a message to the terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun println(stderr: Boolean = false)

    Print a line break to the terminal.

    fun println(widget: Widget, stderr: Boolean = false)

    Print a widget to the terminal, followed by a line break.

    fun println(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a message to the terminal, followed by a line break.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.prompt(prompt: String, default: String? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from "): String?

    Print a prompt to the user and return the value they enter.

    inline fun <T> Terminal.prompt(prompt: String, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", crossinline convert: (String) -> ConversionResult<T>): T?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun rawPrint(message: String, stderr: Boolean = false)

    Print a message to the terminal without parsing or rendering it.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun readLineOrNull(hideInput: Boolean): String?

    Read a line of input from stdin.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.receiveEvents(mouseTracking: MouseTracking = MouseTracking.Normal, crossinline block: (InputEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any InputEvents to block until it returns a result, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.receiveKeyEvents(crossinline block: (KeyboardEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any KeyboardEvents to block until it returns a result, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.receiveMouseEvents(mouseTracking: MouseTracking = MouseTracking.Normal, crossinline block: (MouseEvent) -> InputReceiver.Status<T>): T

    Enter raw mode, read input and pass any MouseEvents to block until it returns a result, then exit raw mode.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun render(widget: Widget): String

    Render a widget as a string

    fun render(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null): String

    Render a message to a string.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.success(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.success style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline fun <T> Terminal.textAnimation(whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, tabWidth: Int? = null, crossinline draw: (T) -> String): Animation<T>

    Create an Animation that wraps the result of the draw function into a Text widget and renders it.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Detect the current terminal's size and update size.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.warning(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.warning style.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/print.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/print.html new file mode 100755 index 000000000..b84ffa404 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/print.html @@ -0,0 +1,76 @@ + + + + + print + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    print

    +
    +
    fun print(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a message to the terminal.

    Any contained TextColors and TextStyles will be automatically downsampled based on the current terminal's terminalInfo.

    Parameters

    message

    The message to print as a string.

    whitespace

    How to handle whitespace and line wrapping. By default, whitespace is printed unchanged and lines are not wrapped.

    align

    How to align text in the terminal. By default, no alignment is performed.

    overflowWrap

    How to wrap words longer than a single line. By default, long words are not wrapped.

    width

    The width to wrap to if whitespace or overflowWrap are set. By default, this will use TerminalInfo.width

    stderr

    Whether to print to stderr instead of stdout.


    fun print(widget: Widget, stderr: Boolean = false)

    Print a widget to the terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/println.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/println.html new file mode 100755 index 000000000..d8a742d8a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/println.html @@ -0,0 +1,76 @@ + + + + + println + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    println

    +
    +
    fun println(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a message to the terminal, followed by a line break.

    Any contained TextColors and TextStyles will be automatically downsampled based on the current terminal's terminalInfo.

    Parameters

    message

    The message to print as a string.

    whitespace

    How to handle whitespace and line wrapping. By default, whitespace is printed unchanged and lines are not wrapped.

    align

    How to align text in the terminal. By default, no alignment is performed.

    overflowWrap

    How to wrap words longer than a single line. By default, long words are not wrapped.

    width

    The width to wrap to if whitespace or overflowWrap are set. By default, this will use TerminalInfo.width

    stderr

    Whether to print to stderr instead of stdout.


    fun println(widget: Widget, stderr: Boolean = false)

    Print a widget to the terminal, followed by a line break.


    fun println(stderr: Boolean = false)

    Print a line break to the terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/raw-print.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/raw-print.html new file mode 100755 index 000000000..e2bb7b14a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/raw-print.html @@ -0,0 +1,76 @@ + + + + + rawPrint + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    rawPrint

    +
    +
    fun rawPrint(message: String, stderr: Boolean = false)

    Print a message to the terminal without parsing or rendering it.

    This is useful if you want to print ANSI escape codes manually.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/read-line-or-null.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/read-line-or-null.html new file mode 100755 index 000000000..5d55c3dff --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/read-line-or-null.html @@ -0,0 +1,76 @@ + + + + + readLineOrNull + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    readLineOrNull

    +
    +
    fun readLineOrNull(hideInput: Boolean): String?

    Read a line of input from stdin.

    This is similar to readlnOrNull, but is supported on NodeJS, and uses this terminal's interface, so it can be customized or mocked for testing.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/render.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/render.html new file mode 100755 index 000000000..6a3dfcd09 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    fun render(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null): String

    Render a message to a string.

    Any contained TextColors and TextStyles will be automatically downsampled based on the current terminal's terminalInfo.

    Parameters

    message

    The message to render as a string.

    whitespace

    How to handle whitespace and line wrapping. By default, whitespace is printed unchanged and lines are not wrapped.

    align

    How to align text in the terminal. By default, no alignment is performed.

    overflowWrap

    How to wrap words longer than a single line. By default, long words are not wrapped.

    width

    The width to wrap to if whitespace or overflowWrap are set. By default, this will use TerminalInfo.width


    fun render(widget: Widget): String

    Render a widget as a string

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/size.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/size.html new file mode 100755 index 000000000..f6199cace --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/size.html @@ -0,0 +1,76 @@ + + + + + size + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    size

    +
    +
    val size: Size

    The current size of the terminal.

    This value is updated automatically whenever you print to the terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/tab-width.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/tab-width.html new file mode 100755 index 000000000..53de5468e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/tab-width.html @@ -0,0 +1,76 @@ + + + + + tabWidth + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    tabWidth

    +
    +

    The number of spaces to use when printing tab characters.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/terminal-info.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/terminal-info.html new file mode 100755 index 000000000..08761d549 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/terminal-info.html @@ -0,0 +1,76 @@ + + + + + terminalInfo + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    terminalInfo

    +
    +

    The terminal capabilities that were detected or set in the constructor.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/terminal-interface.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/terminal-interface.html new file mode 100755 index 000000000..e36798b9b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/terminal-interface.html @@ -0,0 +1,76 @@ + + + + + terminalInterface + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    terminalInterface

    +
    +

    The interface to use to interact with the system terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/theme.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/theme.html new file mode 100755 index 000000000..4e3a63e0c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/theme.html @@ -0,0 +1,76 @@ + + + + + theme + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    theme

    +
    +

    The theme to use when rendering widgets

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-terminal/update-size.html b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/update-size.html new file mode 100755 index 000000000..7763cedc8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-terminal/update-size.html @@ -0,0 +1,76 @@ + + + + + updateSize + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    updateSize

    +
    +

    Detect the current terminal's size and update size.

    This is called automatically whenever you print to the terminal.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-yes-no-prompt/-yes-no-prompt.html b/api/mordant/com.github.ajalt.mordant.terminal/-yes-no-prompt/-yes-no-prompt.html new file mode 100755 index 000000000..f1d513a69 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-yes-no-prompt/-yes-no-prompt.html @@ -0,0 +1,76 @@ + + + + + YesNoPrompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    YesNoPrompt

    +
    +
    constructor(prompt: String, terminal: Terminal, default: Boolean? = null, uppercaseDefault: Boolean = true, showChoices: Boolean = true, choiceStrings: List<String> = listOf("y", "n"), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ")

    Parameters

    prompt

    The message asking for input to show the user

    terminal

    The terminal to use

    default

    The value to return if the user enters an empty line, or null to require a value

    uppercaseDefault

    If true and default is not null, the default choice will be shown in uppercase.

    showChoices

    If true, the choices will be added to the prompt

    choiceStrings

    The strings to accept for true and false inputs

    promptSuffix

    A string to append after prompt when showing the user the prompt

    invalidChoiceMessage

    The message to show the user if they enter a value that isn't one of the choiceStrings.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/-yes-no-prompt/index.html b/api/mordant/com.github.ajalt.mordant.terminal/-yes-no-prompt/index.html new file mode 100755 index 000000000..93740b5c9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/-yes-no-prompt/index.html @@ -0,0 +1,138 @@ + + + + + YesNoPrompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    YesNoPrompt

    +
    class YesNoPrompt(prompt: String, terminal: Terminal, default: Boolean? = null, uppercaseDefault: Boolean = true, showChoices: Boolean = true, choiceStrings: List<String> = listOf("y", "n"), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ") : Prompt<Boolean>

    A boolean prompt that asks for a yes or no response.

    Parameters

    prompt

    The message asking for input to show the user

    terminal

    The terminal to use

    default

    The value to return if the user enters an empty line, or null to require a value

    uppercaseDefault

    If true and default is not null, the default choice will be shown in uppercase.

    showChoices

    If true, the choices will be added to the prompt

    choiceStrings

    The strings to accept for true and false inputs

    promptSuffix

    A string to append after prompt when showing the user the prompt

    invalidChoiceMessage

    The message to show the user if they enter a value that isn't one of the choiceStrings.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(prompt: String, terminal: Terminal, default: Boolean? = null, uppercaseDefault: Boolean = true, showChoices: Boolean = true, choiceStrings: List<String> = listOf("y", "n"), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ")
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The terminal to use

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open fun ask(): Boolean?

    Run the prompt, asking the user for input.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/danger.html b/api/mordant/com.github.ajalt.mordant.terminal/danger.html new file mode 100755 index 000000000..21dbb9466 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/danger.html @@ -0,0 +1,76 @@ + + + + + danger + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    danger

    +
    +
    fun Terminal.danger(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.danger style.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/index.html b/api/mordant/com.github.ajalt.mordant.terminal/index.html new file mode 100755 index 000000000..d24df6550 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/index.html @@ -0,0 +1,418 @@ + + + + + com.github.ajalt.mordant.terminal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class ConfirmationPrompt<T : Any>(firstPrompt: Prompt<T>, secondPrompt: Prompt<T>, valueMismatchMessage: String = "Values do not match, try again")

    A prompt that requires the user to enter the same value twice.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    sealed class ConversionResult<out T>
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface CursorMovements
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class PrintRequest(val text: String, val trailingLinebreak: Boolean, val stderr: Boolean)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract class Prompt<T>(prompt: String, val terminal: Terminal, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ")

    The base class for prompts.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A base class for terminal interfaces that prints using standard kotlin.io functions.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class StringPrompt(prompt: String, terminal: Terminal, default: String? = null, showDefault: Boolean = false, showChoices: Boolean = true, hideInput: Boolean = false, choices: List<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", allowBlank: Boolean = true) : Prompt<String>

    A Prompt that returns the user input unchanged.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Terminal

    Functions for printing styled text to the terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    interface TerminalCursor
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Detect information about the current terminal.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class TerminalInfo(var ansiLevel: AnsiLevel, var ansiHyperLinks: Boolean, val outputInteractive: Boolean, val inputInteractive: Boolean, val supportsAnsiCursor: Boolean)

    Information about the current terminal

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A provider for a TerminalInterface.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A TerminalInterface that records all output and allows you to provide input.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class YesNoPrompt(prompt: String, terminal: Terminal, default: Boolean? = null, uppercaseDefault: Boolean = true, showChoices: Boolean = true, choiceStrings: List<String> = listOf("y", "n"), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ") : Prompt<Boolean>

    A boolean prompt that asks for a yes or no response.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.danger(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.danger style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.info(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.info style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.muted(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.muted style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun TerminalRecorder.outputAsHtml(includeBodyTag: Boolean = true, includeCodeTag: Boolean = true, backgroundColor: Color? = SRGB("#0c0c0c")): String

    Render the contents of this TerminalRecorder as an HTML document.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.prompt(prompt: String, default: String? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from "): String?

    Print a prompt to the user and return the value they enter.

    inline fun <T> Terminal.prompt(prompt: String, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", crossinline convert: (String) -> ConversionResult<T>): T?
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.success(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.success style.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Terminal.warning(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.warning style.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/info.html b/api/mordant/com.github.ajalt.mordant.terminal/info.html new file mode 100755 index 000000000..29af71fee --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/info.html @@ -0,0 +1,76 @@ + + + + + info + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    info

    +
    +
    fun Terminal.info(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.info style.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/muted.html b/api/mordant/com.github.ajalt.mordant.terminal/muted.html new file mode 100755 index 000000000..39aa1a71f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/muted.html @@ -0,0 +1,76 @@ + + + + + muted + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    muted

    +
    +
    fun Terminal.muted(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.muted style.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/output-as-html.html b/api/mordant/com.github.ajalt.mordant.terminal/output-as-html.html new file mode 100755 index 000000000..e74d57e82 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/output-as-html.html @@ -0,0 +1,76 @@ + + + + + outputAsHtml + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    outputAsHtml

    +
    +
    fun TerminalRecorder.outputAsHtml(includeBodyTag: Boolean = true, includeCodeTag: Boolean = true, backgroundColor: Color? = SRGB("#0c0c0c")): String

    Render the contents of this TerminalRecorder as an HTML document.

    Parameters

    includeBodyTag

    If true, the output will be wrapped in <html><body> tags.

    includeCodeTag

    If true, the output will be wrapped in <pre><code> tags. If false, only <pre> will be used.

    backgroundColor

    If given, the output will be wrapped in a terminal frame with this background color.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/prompt.html b/api/mordant/com.github.ajalt.mordant.terminal/prompt.html new file mode 100755 index 000000000..130b0ee72 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/prompt.html @@ -0,0 +1,76 @@ + + + + + prompt + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    prompt

    +
    +
    fun Terminal.prompt(prompt: String, default: String? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<String> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from "): String?

    Print a prompt to the user and return the value they enter.

    To customize the prompt behavior, see the Prompt class.

    Parameters

    prompt

    The message asking for input to show the user

    default

    The value to return if the user enters an empty line, or null to require a value

    showDefault

    If true and a default is specified, add the default value to the prompt

    hideInput

    If true, the user's input will be treated like a password and hidden from the screen. This value will be ignored on platforms where it is not supported.

    choices

    The set of values that the user must choose from.

    promptSuffix

    A string to append after prompt when showing the user the prompt

    invalidChoiceMessage

    The message to show the user if choices is specified, and they enter a value that isn't one of the choices.


    inline fun <T> Terminal.prompt(prompt: String, default: T? = null, showDefault: Boolean = true, showChoices: Boolean = true, hideInput: Boolean = false, choices: Collection<T> = emptyList(), promptSuffix: String = ": ", invalidChoiceMessage: String = "Invalid value, choose from ", crossinline convert: (String) -> ConversionResult<T>): T?
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/success.html b/api/mordant/com.github.ajalt.mordant.terminal/success.html new file mode 100755 index 000000000..ec2c704d3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/success.html @@ -0,0 +1,76 @@ + + + + + success + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    success

    +
    +
    fun Terminal.success(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.success style.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.terminal/warning.html b/api/mordant/com.github.ajalt.mordant.terminal/warning.html new file mode 100755 index 000000000..24b416723 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.terminal/warning.html @@ -0,0 +1,76 @@ + + + + + warning + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    warning

    +
    +
    fun Terminal.warning(message: Any?, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, stderr: Boolean = false)

    Print a line styled with the theme's Theme.warning style.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/-cached-progress-bar-definition.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/-cached-progress-bar-definition.html new file mode 100755 index 000000000..3aea5e015 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/-cached-progress-bar-definition.html @@ -0,0 +1,76 @@ + + + + + CachedProgressBarDefinition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CachedProgressBarDefinition

    +
    +
    constructor(definition: ProgressBarDefinition<T>, timeSource: TimeSource.WithComparableMarks)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/align-columns.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/align-columns.html new file mode 100755 index 000000000..1745089c1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/align-columns.html @@ -0,0 +1,76 @@ + + + + + alignColumns + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    alignColumns

    +
    +
    open override val alignColumns: Boolean

    How to align the columns of the progress bar when multiple tasks are present.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/cells.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/cells.html new file mode 100755 index 000000000..548b043f0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/cells.html @@ -0,0 +1,76 @@ + + + + + cells + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cells

    +
    +
    open override val cells: List<ProgressBarCell<T>>

    The cells in this layout.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/fps.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/fps.html new file mode 100755 index 000000000..ca883ae3d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/fps.html @@ -0,0 +1,76 @@ + + + + + fps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    fps

    +
    +
    val fps: Int

    The refresh rate, Hz, that will satisfy the fps of all this progress bar's cells.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/index.html new file mode 100755 index 000000000..71bf357ac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/index.html @@ -0,0 +1,231 @@ + + + + + CachedProgressBarDefinition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    CachedProgressBarDefinition

    +

    A ProgressBarDefinition that caches the widgets for each cell so that they only update as fast as their fps.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(definition: ProgressBarDefinition<T>, timeSource: TimeSource.WithComparableMarks)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val alignColumns: Boolean

    How to align the columns of the progress bar when multiple tasks are present.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val cells: List<ProgressBarCell<T>>

    The cells in this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val fps: Int

    The refresh rate, Hz, that will satisfy the fps of all this progress bar's cells.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val spacing: Int

    The spacing between cells in this layout.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun ProgressBarDefinition<Unit>.animateOnThread(terminal: Terminal, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<Unit>

    Create a progress bar animation for a single task that runs synchronously.

    fun <T> ProgressBarDefinition<T>.animateOnThread(terminal: Terminal, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<T>

    Create a progress bar animation with a single task that runs synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> ProgressBarDefinition<T>.build(state: ProgressState<T>, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    fun ProgressBarDefinition<Unit>.build(total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget
    fun <T> ProgressBarDefinition<T>.build(context: T, total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Cache this progress bar definition so that each cell only updates as often as its fps.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Invalidate the cache for this definition.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/invalidate-cache.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/invalidate-cache.html new file mode 100755 index 000000000..8099e782c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/invalidate-cache.html @@ -0,0 +1,76 @@ + + + + + invalidateCache + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    invalidateCache

    +
    +

    Invalidate the cache for this definition.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/spacing.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/spacing.html new file mode 100755 index 000000000..2faae1df6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-cached-progress-bar-definition/spacing.html @@ -0,0 +1,76 @@ + + + + + spacing + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    spacing

    +
    +
    open override val spacing: Int

    The spacing between cells in this layout.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/build-cells.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/build-cells.html new file mode 100755 index 000000000..7490b58e4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/build-cells.html @@ -0,0 +1,76 @@ + + + + + buildCells + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    buildCells

    +
    +

    Build the widgets for each cell in the progress bar.

    This can be used if you want to manually include the individual cells in a layout like a table.

    Return

    A list of rows, where each row is a list of widgets for the cells in that row.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/build.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/build.html new file mode 100755 index 000000000..ec32b628a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/build.html @@ -0,0 +1,76 @@ + + + + + build + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    build

    +
    +
    open override fun build(rows: List<ProgressBarMakerRow<*>>): Widget

    Build a progress widget with the given rows.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/index.html new file mode 100755 index 000000000..64e8ae15f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-multi-progress-bar-widget-maker/index.html @@ -0,0 +1,130 @@ + + + + + MultiProgressBarWidgetMaker + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    MultiProgressBarWidgetMaker

    +

    The default implementation of ProgressBarWidgetMaker.

    It uses a grid or verticalLayout to render the progress bars.

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun build(rows: List<ProgressBarMakerRow<*>>): Widget

    Build a progress widget with the given rows.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Build a progress widget with the given rows.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Build the widgets for each cell in the progress bar.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/-progress-bar-cell.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/-progress-bar-cell.html new file mode 100755 index 000000000..d9a0fff97 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/-progress-bar-cell.html @@ -0,0 +1,76 @@ + + + + + ProgressBarCell + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarCell

    +
    +
    constructor(columnWidth: ColumnWidth = ColumnWidth.Auto, fps: Int = TEXT_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, content: ProgressState<T>.() -> Widget)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/align.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/align.html new file mode 100755 index 000000000..097be8544 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/align.html @@ -0,0 +1,76 @@ + + + + + align + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    align

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/column-width.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/column-width.html new file mode 100755 index 000000000..093ab30a6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/column-width.html @@ -0,0 +1,76 @@ + + + + + columnWidth + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    columnWidth

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/content.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/content.html new file mode 100755 index 000000000..fca46f970 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/content.html @@ -0,0 +1,76 @@ + + + + + content + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    content

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/fps.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/fps.html new file mode 100755 index 000000000..285f68c05 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/fps.html @@ -0,0 +1,76 @@ + + + + + fps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    fps

    +
    +
    val fps: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/index.html new file mode 100755 index 000000000..495d24bf8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/index.html @@ -0,0 +1,179 @@ + + + + + ProgressBarCell + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarCell

    +
    data class ProgressBarCell<T>(val columnWidth: ColumnWidth = ColumnWidth.Auto, val fps: Int = TEXT_FPS, val align: TextAlign = TextAlign.RIGHT, val verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, val content: ProgressState<T>.() -> Widget)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(columnWidth: ColumnWidth = ColumnWidth.Auto, fps: Int = TEXT_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, content: ProgressState<T>.() -> Widget)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val fps: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/vertical-align.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/vertical-align.html new file mode 100755 index 000000000..41b9f3803 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-cell/vertical-align.html @@ -0,0 +1,76 @@ + + + + + verticalAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    verticalAlign

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition.html new file mode 100755 index 000000000..f5bfab030 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition.html @@ -0,0 +1,76 @@ + + + + + ProgressBarDefinition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarDefinition

    +
    +
    fun <T> ProgressBarDefinition(cells: List<ProgressBarCell<T>>, spacing: Int, alignColumns: Boolean): ProgressBarDefinition<T>

    Create a new progress bar layout definition.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/align-columns.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/align-columns.html new file mode 100755 index 000000000..813162dee --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/align-columns.html @@ -0,0 +1,76 @@ + + + + + alignColumns + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    alignColumns

    +
    +
    abstract val alignColumns: Boolean

    How to align the columns of the progress bar when multiple tasks are present.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/cells.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/cells.html new file mode 100755 index 000000000..f778ee83b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/cells.html @@ -0,0 +1,76 @@ + + + + + cells + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cells

    +
    +
    abstract val cells: List<ProgressBarCell<T>>

    The cells in this layout.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/index.html new file mode 100755 index 000000000..8d59bee68 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/index.html @@ -0,0 +1,182 @@ + + + + + ProgressBarDefinition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarDefinition

    +

    The cells and configuration for a progress bar layout.

    Inheritors

    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val alignColumns: Boolean

    How to align the columns of the progress bar when multiple tasks are present.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val cells: List<ProgressBarCell<T>>

    The cells in this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val spacing: Int

    The spacing between cells in this layout.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    +
    +
    fun ProgressBarDefinition<Unit>.animateOnThread(terminal: Terminal, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<Unit>

    Create a progress bar animation for a single task that runs synchronously.

    fun <T> ProgressBarDefinition<T>.animateOnThread(terminal: Terminal, context: T, total: Long? = null, completed: Long = 0, start: Boolean = true, visible: Boolean = true, clearWhenFinished: Boolean = false, speedEstimateDuration: Duration = 30.seconds, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): ThreadProgressTaskAnimator<T>

    Create a progress bar animation with a single task that runs synchronously.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> ProgressBarDefinition<T>.build(state: ProgressState<T>, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    fun ProgressBarDefinition<Unit>.build(total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget
    fun <T> ProgressBarDefinition<T>.build(context: T, total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Cache this progress bar definition so that each cell only updates as often as its fps.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/spacing.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/spacing.html new file mode 100755 index 000000000..a915a930c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-definition/spacing.html @@ -0,0 +1,76 @@ + + + + + spacing + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    spacing

    +
    +
    abstract val spacing: Int

    The spacing between cells in this layout.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/-progress-bar-maker-row.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/-progress-bar-maker-row.html new file mode 100755 index 000000000..4d315d632 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/-progress-bar-maker-row.html @@ -0,0 +1,76 @@ + + + + + ProgressBarMakerRow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarMakerRow

    +
    +
    constructor(definition: ProgressBarDefinition<T>, state: ProgressState<T>)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/definition.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/definition.html new file mode 100755 index 000000000..db6dae731 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/definition.html @@ -0,0 +1,76 @@ + + + + + definition + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    definition

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/index.html new file mode 100755 index 000000000..2f253b765 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/index.html @@ -0,0 +1,134 @@ + + + + + ProgressBarMakerRow + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarMakerRow

    +
    data class ProgressBarMakerRow<T>(val definition: ProgressBarDefinition<T>, val state: ProgressState<T>)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(definition: ProgressBarDefinition<T>, state: ProgressState<T>)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/state.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/state.html new file mode 100755 index 000000000..f7e5d2370 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-maker-row/state.html @@ -0,0 +1,76 @@ + + + + + state + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    state

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-widget-maker/build.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-widget-maker/build.html new file mode 100755 index 000000000..128f369a4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-widget-maker/build.html @@ -0,0 +1,76 @@ + + + + + build + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    build

    +
    +
    abstract fun build(rows: List<ProgressBarMakerRow<*>>): Widget

    Build a progress widget with the given rows.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-widget-maker/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-widget-maker/index.html new file mode 100755 index 000000000..0e8680161 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-bar-widget-maker/index.html @@ -0,0 +1,115 @@ + + + + + ProgressBarWidgetMaker + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBarWidgetMaker

    +

    Instances of this interface creates widgets for progress bars.

    The default implementation is MultiProgressBarWidgetMaker.

    Inheritors

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun build(rows: List<ProgressBarMakerRow<*>>): Widget

    Build a progress widget with the given rows.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Build a progress widget with the given rows.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/-progress-layout-builder.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/-progress-layout-builder.html new file mode 100755 index 000000000..fbc7f10a5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/-progress-layout-builder.html @@ -0,0 +1,76 @@ + + + + + ProgressLayoutBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressLayoutBuilder

    +
    +
    constructor(textFps: Int = TEXT_FPS, animationFps: Int = ANIMATION_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/align.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/align.html new file mode 100755 index 000000000..be47e740e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/align.html @@ -0,0 +1,76 @@ + + + + + align + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    align

    +
    +
    open override val align: TextAlign

    The default horizontal alignment for cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/animation-fps.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/animation-fps.html new file mode 100755 index 000000000..76c5c35d3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/animation-fps.html @@ -0,0 +1,76 @@ + + + + + animationFps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    animationFps

    +
    +
    open override val animationFps: Int

    The default framerate for animation cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/build.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/build.html new file mode 100755 index 000000000..74c21a1b1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/build.html @@ -0,0 +1,76 @@ + + + + + build + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    build

    +
    +
    fun build(spacing: Int = 2, alignColumns: Boolean = true): ProgressBarDefinition<T>

    Build the progress bar layout.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/cell.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/cell.html new file mode 100755 index 000000000..3b60198f1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/cell.html @@ -0,0 +1,76 @@ + + + + + cell + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cell

    +
    +
    open override fun cell(width: ColumnWidth, fps: Int, align: TextAlign?, verticalAlign: VerticalAlign?, content: ProgressState<T>.() -> Widget)

    Add a cell to this layout.

    The content will be called every time the cell is rendered. In the case of animations, that will usually be at its fps.

    Parameters

    width

    The width of the cell.

    fps

    The number of times per second to refresh the cell when animated. If 0, the cell should not be refreshed.

    align

    The text alignment for the cell when multiple tasks are present and cells are aligned, or null to use the default.

    verticalAlign

    The vertical alignment for the cell if there are other taller cells in the layout, or null to use the default.

    content

    A lambda returning the widget to display in this cell.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/index.html new file mode 100755 index 000000000..b4769eb56 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/index.html @@ -0,0 +1,333 @@ + + + + + ProgressLayoutBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressLayoutBuilder

    +
    class ProgressLayoutBuilder<T>(val textFps: Int = TEXT_FPS, val animationFps: Int = ANIMATION_FPS, val align: TextAlign = TextAlign.RIGHT, val verticalAlign: VerticalAlign = VerticalAlign.BOTTOM) : ProgressLayoutScope<T>

    A builder for creating a progress bar layout.

    If you don't want to use the progressBarLayout DSL, you can use this builder instead, and call build when you're done adding cells.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(textFps: Int = TEXT_FPS, animationFps: Int = ANIMATION_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val align: TextAlign

    The default horizontal alignment for cells

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val animationFps: Int

    The default framerate for animation cells

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val textFps: Int

    The default framerate for text based cells

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override val verticalAlign: VerticalAlign

    The default vertical alignment for cells

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun build(spacing: Int = 2, alignColumns: Boolean = true): ProgressBarDefinition<T>

    Build the progress bar layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun cell(width: ColumnWidth, fps: Int, align: TextAlign?, verticalAlign: VerticalAlign?, content: ProgressState<T>.() -> Widget)

    Add a cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.completed(suffix: String = "", includeTotal: Boolean = true, precision: Int = 1, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current completed count to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.marquee(content: String, width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false)
    fun <T> ProgressLayoutScope<T>.marquee(width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false, content: ProgressState<T>.() -> String)

    Add a fixed width text cell that scrolls its contents horizontally so that long text can be displayed in a fixed width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.percentage(fps: Int = textFps, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a cell that displays the current percentage to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.progressBar(width: Int? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null, pulsePeriod: Duration = 2.seconds, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = animationFps)

    Add a progress bar cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.speed(suffix: String = "/s", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current speed to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.spinner(spinner: Spinner, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = 8)

    Add a Spinner to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.text(content: String, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a fixed text cell to this layout.

    fun <T> ProgressLayoutScope<T>.text(align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps, content: ProgressState<T>.() -> String)

    Add a dynamic text cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.timeElapsed(compact: Boolean = false, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the elapsed time to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.timeRemaining(prefix: String = "eta ", compact: Boolean = false, elapsedWhenFinished: Boolean = false, elapsedPrefix: String = " in ", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the time remaining to this layout.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/text-fps.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/text-fps.html new file mode 100755 index 000000000..12e4b9dfd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/text-fps.html @@ -0,0 +1,76 @@ + + + + + textFps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    textFps

    +
    +
    open override val textFps: Int

    The default framerate for text based cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/vertical-align.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/vertical-align.html new file mode 100755 index 000000000..1d9e693b4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-builder/vertical-align.html @@ -0,0 +1,76 @@ + + + + + verticalAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    verticalAlign

    +
    +
    open override val verticalAlign: VerticalAlign

    The default vertical alignment for cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/align.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/align.html new file mode 100755 index 000000000..ca3caf6f3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/align.html @@ -0,0 +1,76 @@ + + + + + align + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    align

    +
    +
    abstract val align: TextAlign

    The default horizontal alignment for cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/animation-fps.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/animation-fps.html new file mode 100755 index 000000000..3e6aae629 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/animation-fps.html @@ -0,0 +1,76 @@ + + + + + animationFps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    animationFps

    +
    +
    abstract val animationFps: Int

    The default framerate for animation cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/cell.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/cell.html new file mode 100755 index 000000000..5e3262f28 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/cell.html @@ -0,0 +1,76 @@ + + + + + cell + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cell

    +
    +
    abstract fun cell(width: ColumnWidth = ColumnWidth.Auto, fps: Int = textFps, align: TextAlign? = null, verticalAlign: VerticalAlign? = null, content: ProgressState<T>.() -> Widget)

    Add a cell to this layout.

    The content will be called every time the cell is rendered. In the case of animations, that will usually be at its fps.

    Parameters

    width

    The width of the cell.

    fps

    The number of times per second to refresh the cell when animated. If 0, the cell should not be refreshed.

    align

    The text alignment for the cell when multiple tasks are present and cells are aligned, or null to use the default.

    verticalAlign

    The vertical alignment for the cell if there are other taller cells in the layout, or null to use the default.

    content

    A lambda returning the widget to display in this cell.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/index.html new file mode 100755 index 000000000..f7981515d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/index.html @@ -0,0 +1,299 @@ + + + + + ProgressLayoutScope + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressLayoutScope

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val align: TextAlign

    The default horizontal alignment for cells

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val animationFps: Int

    The default framerate for animation cells

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract val textFps: Int

    The default framerate for text based cells

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The default vertical alignment for cells

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    abstract fun cell(width: ColumnWidth = ColumnWidth.Auto, fps: Int = textFps, align: TextAlign? = null, verticalAlign: VerticalAlign? = null, content: ProgressState<T>.() -> Widget)

    Add a cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.completed(suffix: String = "", includeTotal: Boolean = true, precision: Int = 1, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current completed count to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.marquee(content: String, width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false)
    fun <T> ProgressLayoutScope<T>.marquee(width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false, content: ProgressState<T>.() -> String)

    Add a fixed width text cell that scrolls its contents horizontally so that long text can be displayed in a fixed width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.percentage(fps: Int = textFps, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a cell that displays the current percentage to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.progressBar(width: Int? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null, pulsePeriod: Duration = 2.seconds, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = animationFps)

    Add a progress bar cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.speed(suffix: String = "/s", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current speed to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.spinner(spinner: Spinner, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = 8)

    Add a Spinner to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.text(content: String, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a fixed text cell to this layout.

    fun <T> ProgressLayoutScope<T>.text(align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps, content: ProgressState<T>.() -> String)

    Add a dynamic text cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.timeElapsed(compact: Boolean = false, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the elapsed time to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.timeRemaining(prefix: String = "eta ", compact: Boolean = false, elapsedWhenFinished: Boolean = false, elapsedPrefix: String = " in ", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the time remaining to this layout.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/text-fps.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/text-fps.html new file mode 100755 index 000000000..a98d34437 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/text-fps.html @@ -0,0 +1,76 @@ + + + + + textFps + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    textFps

    +
    +
    abstract val textFps: Int

    The default framerate for text based cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/vertical-align.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/vertical-align.html new file mode 100755 index 000000000..84860ff76 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-layout-scope/vertical-align.html @@ -0,0 +1,76 @@ + + + + + verticalAlign + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    verticalAlign

    +
    +

    The default vertical alignment for cells

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state.html new file mode 100755 index 000000000..7e35aa6a3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state.html @@ -0,0 +1,76 @@ + + + + + ProgressState + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressState

    +
    +
    fun ProgressState(total: Long?, completed: Long, animationTime: ComparableTimeMark, status: ProgressState.Status, speed: Double? = null): ProgressState<Unit>

    Create a ProgressState with no context.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-progress-state.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-progress-state.html new file mode 100755 index 000000000..fbe7a87aa --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-progress-state.html @@ -0,0 +1,76 @@ + + + + + ProgressState + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressState

    +
    +
    constructor(context: T, total: Long?, completed: Long, animationTime: ComparableTimeMark, status: ProgressState.Status, speed: Double? = null, taskId: TaskId = TaskId())
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/-finished.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/-finished.html new file mode 100755 index 000000000..ea94f72dd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/-finished.html @@ -0,0 +1,76 @@ + + + + + Finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Finished

    +
    +
    constructor(startTime: ComparableTimeMark, finishTime: ComparableTimeMark)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/finish-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/finish-time.html new file mode 100755 index 000000000..5cadfe81f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/finish-time.html @@ -0,0 +1,76 @@ + + + + + finishTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finishTime

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/index.html new file mode 100755 index 000000000..09068b12b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/index.html @@ -0,0 +1,179 @@ + + + + + Finished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Finished

    +
    data class Finished(val startTime: ComparableTimeMark, val finishTime: ComparableTimeMark) : ProgressState.Status
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(startTime: ComparableTimeMark, finishTime: ComparableTimeMark)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task started, or null if it hasn't started.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/start-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/start-time.html new file mode 100755 index 000000000..801ecfc31 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-finished/start-time.html @@ -0,0 +1,76 @@ + + + + + startTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    startTime

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-not-started/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-not-started/index.html new file mode 100755 index 000000000..8a12e8c90 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-not-started/index.html @@ -0,0 +1,130 @@ + + + + + NotStarted + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    NotStarted

    + +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task started, or null if it hasn't started.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/-paused.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/-paused.html new file mode 100755 index 000000000..a943610ef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/-paused.html @@ -0,0 +1,76 @@ + + + + + Paused + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Paused

    +
    +
    constructor(startTime: ComparableTimeMark, pauseTime: ComparableTimeMark)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/index.html new file mode 100755 index 000000000..4d9d0d465 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/index.html @@ -0,0 +1,179 @@ + + + + + Paused + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Paused

    +
    data class Paused(val startTime: ComparableTimeMark, val pauseTime: ComparableTimeMark) : ProgressState.Status
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(startTime: ComparableTimeMark, pauseTime: ComparableTimeMark)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task started, or null if it hasn't started.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/pause-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/pause-time.html new file mode 100755 index 000000000..9db088038 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/pause-time.html @@ -0,0 +1,76 @@ + + + + + pauseTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    pauseTime

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/start-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/start-time.html new file mode 100755 index 000000000..ff4cc6cec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-paused/start-time.html @@ -0,0 +1,76 @@ + + + + + startTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    startTime

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/-running.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/-running.html new file mode 100755 index 000000000..6a7024979 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/-running.html @@ -0,0 +1,76 @@ + + + + + Running + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Running

    +
    +
    constructor(startTime: ComparableTimeMark)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/index.html new file mode 100755 index 000000000..762db240e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/index.html @@ -0,0 +1,164 @@ + + + + + Running + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Running

    +
    data class Running(val startTime: ComparableTimeMark) : ProgressState.Status
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(startTime: ComparableTimeMark)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task started, or null if it hasn't started.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/start-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/start-time.html new file mode 100755 index 000000000..9b785b4b8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/-running/start-time.html @@ -0,0 +1,76 @@ + + + + + startTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    startTime

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/index.html new file mode 100755 index 000000000..451bb3089 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/-status/index.html @@ -0,0 +1,194 @@ + + + + + Status + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Status

    + +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Finished(val startTime: ComparableTimeMark, val finishTime: ComparableTimeMark) : ProgressState.Status
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Paused(val startTime: ComparableTimeMark, val pauseTime: ComparableTimeMark) : ProgressState.Status
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Running(val startTime: ComparableTimeMark) : ProgressState.Status
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task started, or null if it hasn't started.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/animation-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/animation-time.html new file mode 100755 index 000000000..512711ce8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/animation-time.html @@ -0,0 +1,76 @@ + + + + + animationTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    animationTime

    +
    +

    The time that the progress layout was first constructed.

    Use this for continuous animations, since it's the same for all tasks.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/completed.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/completed.html new file mode 100755 index 000000000..f6632cc1e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/completed.html @@ -0,0 +1,76 @@ + + + + + completed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completed

    +
    +

    The number of steps currently completed in the progress task.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/context.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/context.html new file mode 100755 index 000000000..46bc004dd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/context.html @@ -0,0 +1,76 @@ + + + + + context + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    context

    +
    +
    val context: T

    The context object passed to the progress task.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/index.html new file mode 100755 index 000000000..b24b203c3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/index.html @@ -0,0 +1,337 @@ + + + + + ProgressState + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressState

    +
    data class ProgressState<T>(val context: T, val total: Long?, val completed: Long, val animationTime: ComparableTimeMark, val status: ProgressState.Status, val speed: Double? = null, val taskId: TaskId = TaskId())
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(context: T, total: Long?, completed: Long, animationTime: ComparableTimeMark, status: ProgressState.Status, speed: Double? = null, taskId: TaskId = TaskId())
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    sealed class Status
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that the progress layout was first constructed.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The number of steps currently completed in the progress task.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val context: T

    The context object passed to the progress task.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    true if the task's status is NotStarted.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    true if the task does not have a total specified.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    `true if the task's status is Paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    true if the task's status is Running.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val speed: Double? = null

    The estimated speed of the progress task, in steps per second, or null if it hasn't started.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The running status of the task.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The unique id of this state's task.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val total: Long?

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Calculate the time elapsed for this task, or null if the task hasn't started.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressState<*>.calculateTimeRemaining(elapsedWhenFinished: Boolean = true): Duration?

    Calculate the estimated time remaining for this task, or null if the time cannot be estimated.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return the number of frames that have elapsed at the given fps since the start of the animationTime.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/speed.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/speed.html new file mode 100755 index 000000000..377828718 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/speed.html @@ -0,0 +1,76 @@ + + + + + speed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    speed

    +
    +
    val speed: Double? = null

    The estimated speed of the progress task, in steps per second, or null if it hasn't started.

    If the task is finished or paused, this is the speed at the time it finished.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/status.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/status.html new file mode 100755 index 000000000..b213fd2d4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/status.html @@ -0,0 +1,76 @@ + + + + + status + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    status

    +
    +

    The running status of the task.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/task-id.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/task-id.html new file mode 100755 index 000000000..3ab613229 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/task-id.html @@ -0,0 +1,76 @@ + + + + + taskId + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    taskId

    +
    +

    The unique id of this state's task.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/total.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/total.html new file mode 100755 index 000000000..5afeb3005 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-progress-state/total.html @@ -0,0 +1,76 @@ + + + + + total + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    total

    +
    +
    val total: Long?

    The total number of steps needed to complete the progress task, or null if it is indeterminate.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-task-id/-task-id.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-task-id/-task-id.html new file mode 100755 index 000000000..16c6fae0a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-task-id/-task-id.html @@ -0,0 +1,76 @@ + + + + + TaskId + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TaskId

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/-task-id/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/-task-id/index.html new file mode 100755 index 000000000..fe515aa50 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/-task-id/index.html @@ -0,0 +1,100 @@ + + + + + TaskId + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    TaskId

    +
    class TaskId

    A unique identifier for a task in a progress bar.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/build.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/build.html new file mode 100755 index 000000000..57fa81061 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/build.html @@ -0,0 +1,76 @@ + + + + + build + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    build

    +
    +

    Build a progress widget with the given rows.


    fun <T> ProgressBarDefinition<T>.build(state: ProgressState<T>, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.


    fun <T> ProgressBarDefinition<T>.build(context: T, total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget
    fun ProgressBarDefinition<Unit>.build(total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/cache.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/cache.html new file mode 100755 index 000000000..53f3d9bab --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/cache.html @@ -0,0 +1,76 @@ + + + + + cache + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    cache

    +
    +

    Cache this progress bar definition so that each cell only updates as often as its fps.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/calculate-time-elapsed.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/calculate-time-elapsed.html new file mode 100755 index 000000000..fb0ca85b1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/calculate-time-elapsed.html @@ -0,0 +1,76 @@ + + + + + calculateTimeElapsed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    calculateTimeElapsed

    +
    +

    Calculate the time elapsed for this task, or null if the task hasn't started.

    If the task is finished or paused, the elapsed time is the time between the start and finish/pause times. If the task is running, the elapsed time is the time between the start and now.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/calculate-time-remaining.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/calculate-time-remaining.html new file mode 100755 index 000000000..623aae588 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/calculate-time-remaining.html @@ -0,0 +1,76 @@ + + + + + calculateTimeRemaining + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    calculateTimeRemaining

    +
    +
    fun ProgressState<*>.calculateTimeRemaining(elapsedWhenFinished: Boolean = true): Duration?

    Calculate the estimated time remaining for this task, or null if the time cannot be estimated.

    Parameters

    elapsedWhenFinished

    If true, return the total elapsed time when the task is finished.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/completed.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/completed.html new file mode 100755 index 000000000..1194a4085 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/completed.html @@ -0,0 +1,76 @@ + + + + + completed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    completed

    +
    +
    fun ProgressLayoutScope<*>.completed(suffix: String = "", includeTotal: Boolean = true, precision: Int = 1, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current completed count to this layout.

    Parameters

    suffix

    A string to append to the end of the displayed count, such as "B" if you are tracking bytes. Empty by default.

    includeTotal

    If true, the total count will be displayed after the completed count, separated by a slash. True by default.

    precision

    The number of decimal places to display. 1 by default.

    style

    The style to use for the displayed count.

    fps

    The number of times per second to update the displayed count. Uses the text fps by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/finish-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/finish-time.html new file mode 100755 index 000000000..e7c7483ac --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/finish-time.html @@ -0,0 +1,76 @@ + + + + + finishTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    finishTime

    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/frame-count.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/frame-count.html new file mode 100755 index 000000000..a81b6160e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/frame-count.html @@ -0,0 +1,76 @@ + + + + + frameCount + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    frameCount

    +
    +

    Return the number of frames that have elapsed at the given fps since the start of the animationTime.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/index.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/index.html new file mode 100755 index 000000000..4bf830de2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/index.html @@ -0,0 +1,617 @@ + + + + + com.github.ajalt.mordant.widgets.progress + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A ProgressBarDefinition that caches the widgets for each cell so that they only update as fast as their fps.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class ProgressBarCell<T>(val columnWidth: ColumnWidth = ColumnWidth.Auto, val fps: Int = TEXT_FPS, val align: TextAlign = TextAlign.RIGHT, val verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, val content: ProgressState<T>.() -> Widget)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The cells and configuration for a progress bar layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class ProgressBarMakerRow<T>(val definition: ProgressBarDefinition<T>, val state: ProgressState<T>)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Instances of this interface creates widgets for progress bars.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class ProgressLayoutBuilder<T>(val textFps: Int = TEXT_FPS, val animationFps: Int = ANIMATION_FPS, val align: TextAlign = TextAlign.RIGHT, val verticalAlign: VerticalAlign = VerticalAlign.BOTTOM) : ProgressLayoutScope<T>

    A builder for creating a progress bar layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class ProgressState<T>(val context: T, val total: Long?, val completed: Long, val animationTime: ComparableTimeMark, val status: ProgressState.Status, val speed: Double? = null, val taskId: TaskId = TaskId())
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class TaskId

    A unique identifier for a task in a progress bar.

    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task finished, or null if it isn't finished.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    true if the task's status is NotStarted.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    true if the task does not have a total specified.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    `true if the task's status is Paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    true if the task's status is Running.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The time that this task started, or null if it hasn't started.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Build a progress widget with the given rows.

    fun <T> ProgressBarDefinition<T>.build(state: ProgressState<T>, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    fun ProgressBarDefinition<Unit>.build(total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget
    fun <T> ProgressBarDefinition<T>.build(context: T, total: Long?, completed: Long, displayedTime: ComparableTimeMark, status: ProgressState.Status = ProgressState.Status.NotStarted, speed: Double? = null, maker: ProgressBarWidgetMaker = MultiProgressBarWidgetMaker): Widget

    Create a widget for this ProgressBarDefinition with the given state.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Cache this progress bar definition so that each cell only updates as often as its fps.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Calculate the time elapsed for this task, or null if the task hasn't started.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressState<*>.calculateTimeRemaining(elapsedWhenFinished: Boolean = true): Duration?

    Calculate the estimated time remaining for this task, or null if the time cannot be estimated.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.completed(suffix: String = "", includeTotal: Boolean = true, precision: Int = 1, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current completed count to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Return the number of frames that have elapsed at the given fps since the start of the animationTime.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.marquee(content: String, width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false)
    fun <T> ProgressLayoutScope<T>.marquee(width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false, content: ProgressState<T>.() -> String)

    Add a fixed width text cell that scrolls its contents horizontally so that long text can be displayed in a fixed width.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.percentage(fps: Int = textFps, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a cell that displays the current percentage to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.progressBar(width: Int? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null, pulsePeriod: Duration = 2.seconds, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = animationFps)

    Add a progress bar cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> progressBarContextLayout(spacing: Int = 2, alignColumns: Boolean = true, textFps: Int = TEXT_FPS, animationFps: Int = ANIMATION_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, init: ProgressLayoutScope<T>.() -> Unit): ProgressBarDefinition<T>

    Create a progress bar layout with that has a context of type T.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun <T> ProgressBarDefinition(cells: List<ProgressBarCell<T>>, spacing: Int, alignColumns: Boolean): ProgressBarDefinition<T>

    Create a new progress bar layout definition.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun progressBarLayout(spacing: Int = 2, alignColumns: Boolean = true, textFps: Int = TEXT_FPS, animationFps: Int = ANIMATION_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, init: ProgressLayoutScope<Unit>.() -> Unit): ProgressBarDefinition<Unit>

    Create a progress bar layout that doesn't use a context.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressState(total: Long?, completed: Long, animationTime: ComparableTimeMark, status: ProgressState.Status, speed: Double? = null): ProgressState<Unit>

    Create a ProgressState with no context.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.speed(suffix: String = "/s", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current speed to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.spinner(spinner: Spinner, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = 8)

    Add a Spinner to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.text(content: String, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a fixed text cell to this layout.

    fun <T> ProgressLayoutScope<T>.text(align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps, content: ProgressState<T>.() -> String)

    Add a dynamic text cell to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.timeElapsed(compact: Boolean = false, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the elapsed time to this layout.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun ProgressLayoutScope<*>.timeRemaining(prefix: String = "eta ", compact: Boolean = false, elapsedWhenFinished: Boolean = false, elapsedPrefix: String = " in ", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the time remaining to this layout.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/is-finished.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-finished.html new file mode 100755 index 000000000..166d689d2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-finished.html @@ -0,0 +1,76 @@ + + + + + isFinished + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isFinished

    +
    +

    true if the task's status is NotStarted.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/is-indeterminate.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-indeterminate.html new file mode 100755 index 000000000..c7883e24e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-indeterminate.html @@ -0,0 +1,76 @@ + + + + + isIndeterminate + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isIndeterminate

    +
    +

    true if the task does not have a total specified.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/is-paused.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-paused.html new file mode 100755 index 000000000..f0a49b917 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-paused.html @@ -0,0 +1,76 @@ + + + + + isPaused + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isPaused

    +
    +

    `true if the task's status is Paused.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/is-running.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-running.html new file mode 100755 index 000000000..5f583bc89 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/is-running.html @@ -0,0 +1,76 @@ + + + + + isRunning + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isRunning

    +
    +

    true if the task's status is Running.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/marquee.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/marquee.html new file mode 100755 index 000000000..b5af8e49c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/marquee.html @@ -0,0 +1,76 @@ + + + + + marquee + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    marquee

    +
    +
    fun <T> ProgressLayoutScope<T>.marquee(width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false, content: ProgressState<T>.() -> String)

    Add a fixed width text cell that scrolls its contents horizontally so that long text can be displayed in a fixed width.

    Parameters

    width

    The width of the cell in characters.

    fps

    The number of times per second to update the displayed text.

    align

    The text alignment for this cell when scrollWhenContentFits is false and the content fits in the width.

    scrollWhenContentFits

    If true, the text will always scroll, even if it fits in the width.

    content

    The text to display in this cell.


    fun ProgressLayoutScope<*>.marquee(content: String, width: Int, fps: Int = 3, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, scrollWhenContentFits: Boolean = false)

    Add a fixed width text cell that scrolls its contents horizontally so that long text can be displayed in a fixed width.

    Parameters

    content

    The text to display in this cell.

    width

    The width of the cell in characters.

    fps

    The number of times per second to update the displayed text.

    align

    The text alignment for this cell when scrollWhenContentFits is false and the content fits in the width.

    scrollWhenContentFits

    If true, the text will always scroll, even if it fits in the width.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/pause-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/pause-time.html new file mode 100755 index 000000000..eb8253bef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/pause-time.html @@ -0,0 +1,76 @@ + + + + + pauseTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    pauseTime

    +
    +

    The time that this task was paused, or null if it isn't paused.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/percentage.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/percentage.html new file mode 100755 index 000000000..63ccae5dd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/percentage.html @@ -0,0 +1,76 @@ + + + + + percentage + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    percentage

    +
    +
    fun ProgressLayoutScope<*>.percentage(fps: Int = textFps, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a cell that displays the current percentage to this layout.

    Parameters

    fps

    The number of times per second to update the displayed percentage. Uses the text fps by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar-context-layout.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar-context-layout.html new file mode 100755 index 000000000..d0638cfae --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar-context-layout.html @@ -0,0 +1,76 @@ + + + + + progressBarContextLayout + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    progressBarContextLayout

    +
    +
    fun <T> progressBarContextLayout(spacing: Int = 2, alignColumns: Boolean = true, textFps: Int = TEXT_FPS, animationFps: Int = ANIMATION_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, init: ProgressLayoutScope<T>.() -> Unit): ProgressBarDefinition<T>

    Create a progress bar layout with that has a context of type T.

    If you don't need a context, you can use progressBarLayout instead. If you need a builder rather than a DSL, you can use ProgressLayoutBuilder.

    Parameters

    spacing

    The number of spaces between cells in this layout.

    alignColumns

    How to align the columns of the progress bar when multiple tasks are present. If true, the cells in each column will have the same width. Widths are only aligned for contiguous cells, so if you have a row with alignColumns=false between rows with alignColumns=true, none of the three will be aligned.

    textFps

    The default framerate for text based cells like timeRemaining

    animationFps

    The default framerate for animation cells like progressBar

    align

    The default horizontal alignment for cells

    verticalAlign

    The default vertical alignment for cells

    init

    A lambda that adds cells to the layout

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar-layout.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar-layout.html new file mode 100755 index 000000000..c366cfa94 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar-layout.html @@ -0,0 +1,76 @@ + + + + + progressBarLayout + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    progressBarLayout

    +
    +
    fun progressBarLayout(spacing: Int = 2, alignColumns: Boolean = true, textFps: Int = TEXT_FPS, animationFps: Int = ANIMATION_FPS, align: TextAlign = TextAlign.RIGHT, verticalAlign: VerticalAlign = VerticalAlign.BOTTOM, init: ProgressLayoutScope<Unit>.() -> Unit): ProgressBarDefinition<Unit>

    Create a progress bar layout that doesn't use a context.

    If you need a context, you can use progressBarContextLayout instead.

    Parameters

    spacing

    The number of spaces between cells in this layout.

    alignColumns

    How to align the columns of the progress bar when multiple tasks are present. If true, the cells in each column will have the same width. Width are only aligned for contiguous cells, so if you have a row with alignColumns=false between rows with alignColumns=true, none of the three will be aligned.

    textFps

    The default framerate for text based cells like timeRemaining

    animationFps

    The default framerate for animation cells like progressBar

    align

    The default horizontal alignment for cells

    verticalAlign

    The default vertical alignment for cells

    init

    A lambda that adds cells to the layout

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar.html new file mode 100755 index 000000000..76ef9fc49 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/progress-bar.html @@ -0,0 +1,76 @@ + + + + + progressBar + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    progressBar

    +
    +
    fun ProgressLayoutScope<*>.progressBar(width: Int? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null, pulsePeriod: Duration = 2.seconds, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = animationFps)

    Add a progress bar cell to this layout.

    Parameters

    width

    The width in characters for this widget, or null to expand to fill the remaining space.

    pendingChar

    (theme string: "progressbar.pending") The character to use to draw the pending portion of the bar in the active state.

    separatorChar

    (theme string: "progressbar.separator") The character to draw in between the competed and pending bar in the active state.

    completeChar

    (theme string: "progressbar.complete") The character to use to draw the completed portion of the bar in the active state.

    pendingStyle

    (theme style: "progressbar.pending") The style to use for the pendingChars

    separatorStyle

    (theme style: "progressbar.separator") The style to use for the separatorChar

    completeStyle

    (theme style: "progressbar.complete") The style to use for the completeChar when completed < total

    finishedStyle

    (theme style: "progressbar.complete") The style to use for the completeChar when total <= completed

    indeterminateStyle

    e (theme style: "progressbar.separator") The style to use when the state us indeterminate

    pulsePeriod

    (theme flag: "progressbar.pulse") The time that it takes for one cycle of the pulse animation. 2 seconds by default. Set this to 0 or the theme flag to false to disable the pulse.

    fps

    The number of times per second to update the displayed bar. Uses the animation fps by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/speed.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/speed.html new file mode 100755 index 000000000..e9d2d8f59 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/speed.html @@ -0,0 +1,76 @@ + + + + + speed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    speed

    +
    +
    fun ProgressLayoutScope<*>.speed(suffix: String = "/s", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the current speed to this layout.

    Parameters

    suffix

    A string to append to the end of the displayed speed, such as "B/s" if you are tracking bytes. "/s" by default.

    style

    The style to use for the displayed speed.

    fps

    The number of times per second to update the displayed speed. Uses the text fps by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/spinner.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/spinner.html new file mode 100755 index 000000000..dd27a7d81 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/spinner.html @@ -0,0 +1,76 @@ + + + + + spinner + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    spinner

    +
    +
    fun ProgressLayoutScope<*>.spinner(spinner: Spinner, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = 8)

    Add a Spinner to this layout.

    Example

    spinner(Spinner.Dots())

    Parameters

    spinner

    The spinner to display

    fps

    The number of times per second to advance the spinner's displayed frame. 8 by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/start-time.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/start-time.html new file mode 100755 index 000000000..39743d393 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/start-time.html @@ -0,0 +1,76 @@ + + + + + startTime + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    startTime

    +
    +

    The time that this task started, or null if it hasn't started.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/text.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/text.html new file mode 100755 index 000000000..ee5ca29ec --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/text.html @@ -0,0 +1,76 @@ + + + + + text + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    text

    +
    +
    fun ProgressLayoutScope<*>.text(content: String, align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign)

    Add a fixed text cell to this layout.

    The cell is always the same size as the content. For a fixed-width text cell, use marquee.

    Parameters

    content

    The text to display in this cell.

    align

    The text alignment for this cell. Cells are right-aligned by default.


    fun <T> ProgressLayoutScope<T>.text(align: TextAlign = this.align, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps, content: ProgressState<T>.() -> String)

    Add a dynamic text cell to this layout.

    The content lambda will be called with the current progress state as its receiver.

    The cell is always the same size as the content. For a fixed-width text cell, use marquee.

    Example

    text { context.toString() }

    Parameters

    align

    The text alignment for this cell. Cells are right-aligned by default.

    content

    A lambda returning the text to display in this cell.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/time-elapsed.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/time-elapsed.html new file mode 100755 index 000000000..cc998aa98 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/time-elapsed.html @@ -0,0 +1,76 @@ + + + + + timeElapsed + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    timeElapsed

    +
    +
    fun ProgressLayoutScope<*>.timeElapsed(compact: Boolean = false, style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the elapsed time to this layout.

    Parameters

    compact

    If true, the displayed time will be formatted as "MM:SS" if time remaining is less than an hour. false by default.

    style

    The style to use for the displayed time.

    fps

    The number of times per second to update the displayed time. Uses the text fps by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets.progress/time-remaining.html b/api/mordant/com.github.ajalt.mordant.widgets.progress/time-remaining.html new file mode 100755 index 000000000..0af6aa82e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets.progress/time-remaining.html @@ -0,0 +1,76 @@ + + + + + timeRemaining + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    timeRemaining

    +
    +
    fun ProgressLayoutScope<*>.timeRemaining(prefix: String = "eta ", compact: Boolean = false, elapsedWhenFinished: Boolean = false, elapsedPrefix: String = " in ", style: TextStyle = DEFAULT_STYLE, verticalAlign: VerticalAlign = this.verticalAlign, fps: Int = textFps)

    Add a cell that displays the time remaining to this layout.

    Parameters

    prefix

    A string to prepend to the displayed time, such as "eta " or "time left: ". "eta " by default.

    compact

    If true, the displayed time will be formatted as "MM:SS" if time remaining is less than an hour. false by default.

    elapsedWhenFinished

    If true, the elapsed time will be displayed when the task is finished. false by default.

    elapsedPrefix

    A string to prepend to the displayed time when elapsedWhenFinished is true. " in " by default.

    style

    The style to use for the displayed time.

    fps

    The number of times per second to update the displayed time. Uses the text fps by default.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/-caption.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/-caption.html new file mode 100755 index 000000000..34737f7b1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/-caption.html @@ -0,0 +1,76 @@ + + + + + Caption + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Caption

    +
    +
    constructor(content: Widget, top: String? = null, bottom: String? = null, topAlign: TextAlign = TextAlign.CENTER, bottomAlign: TextAlign = TextAlign.CENTER)
    constructor(content: Widget, top: Widget? = null, bottom: Widget? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/bottom.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/bottom.html new file mode 100755 index 000000000..907826bb4 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/bottom.html @@ -0,0 +1,76 @@ + + + + + bottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bottom

    +
    +
    val bottom: Widget? = null
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/content.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/content.html new file mode 100755 index 000000000..2e4b26601 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/content.html @@ -0,0 +1,76 @@ + + + + + content + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    content

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/index.html new file mode 100755 index 000000000..da54084df --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/index.html @@ -0,0 +1,198 @@ + + + + + Caption + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Caption

    +
    class Caption(val content: Widget, val top: Widget? = null, val bottom: Widget? = null) : Widget

    Add a top and/or bottom caption to content

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(content: Widget, top: String? = null, bottom: String? = null, topAlign: TextAlign = TextAlign.CENTER, bottomAlign: TextAlign = TextAlign.CENTER)
    constructor(content: Widget, top: Widget? = null, bottom: Widget? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val bottom: Widget? = null
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val top: Widget? = null
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/measure.html new file mode 100755 index 000000000..84f8db033 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/render.html new file mode 100755 index 000000000..ce6dfcc9c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-caption/top.html b/api/mordant/com.github.ajalt.mordant.widgets/-caption/top.html new file mode 100755 index 000000000..ddfda5590 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-caption/top.html @@ -0,0 +1,76 @@ + + + + + top + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    top

    +
    +
    val top: Widget? = null
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/-definition-list-builder.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/-definition-list-builder.html new file mode 100755 index 000000000..197347a51 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/-definition-list-builder.html @@ -0,0 +1,76 @@ + + + + + DefinitionListBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    DefinitionListBuilder

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/description-spacing.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/description-spacing.html new file mode 100755 index 000000000..f279d320f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/description-spacing.html @@ -0,0 +1,76 @@ + + + + + descriptionSpacing + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    descriptionSpacing

    +
    +

    If inline is true, this is the minimum number of spaces between a term and its description (default 2). If inline is false, this is the number of blank lines between a term and its description (default 0)

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/entry-spacing.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/entry-spacing.html new file mode 100755 index 000000000..76daaf5e9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/entry-spacing.html @@ -0,0 +1,76 @@ + + + + + entrySpacing + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entrySpacing

    +
    +

    The number of blank lines between entries

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/entry.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/entry.html new file mode 100755 index 000000000..a4ec41278 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/entry.html @@ -0,0 +1,76 @@ + + + + + entry + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    entry

    +
    +
    fun entry(term: String, description: String)
    fun entry(term: Widget, description: String)
    fun entry(term: String, description: Widget)
    fun entry(term: Widget, description: Widget)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/index.html new file mode 100755 index 000000000..fa47123bb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/index.html @@ -0,0 +1,168 @@ + + + + + DefinitionListBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    DefinitionListBuilder

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    If inline is true, this is the minimum number of spaces between a term and its description (default 2). If inline is false, this is the number of blank lines between a term and its description (default 0)

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The number of blank lines between entries

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun entry(term: Widget, description: Widget)
    fun entry(term: Widget, description: String)
    fun entry(term: String, description: Widget)
    fun entry(term: String, description: String)
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/inline.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/inline.html new file mode 100755 index 000000000..6938f3eef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-builder/inline.html @@ -0,0 +1,76 @@ + + + + + inline + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    inline

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/-definition-list-entry-builder.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/-definition-list-entry-builder.html new file mode 100755 index 000000000..d6b76854c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/-definition-list-entry-builder.html @@ -0,0 +1,76 @@ + + + + + DefinitionListEntryBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    DefinitionListEntryBuilder

    +
    +
    constructor()
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/description.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/description.html new file mode 100755 index 000000000..1bfd855ed --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    description

    +
    +
    fun description(description: Widget)

    Set the description for this entry


    fun description(description: String, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null)

    Set the description for this entry to a Text widget.

    All function parameters are forwarded to the Text constructor.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/index.html new file mode 100755 index 000000000..7a2587031 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/index.html @@ -0,0 +1,134 @@ + + + + + DefinitionListEntryBuilder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    DefinitionListEntryBuilder

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor()
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun description(description: Widget)

    Set the description for this entry

    fun description(description: String, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null)

    Set the description for this entry to a Text widget.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun term(term: Widget)

    Set the term for this entry

    fun term(term: String, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null)

    Set the term for this entry to a Text widget.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/term.html b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/term.html new file mode 100755 index 000000000..b2f68bbbc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-definition-list-entry-builder/term.html @@ -0,0 +1,76 @@ + + + + + term + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    term

    +
    +
    fun term(term: Widget)

    Set the term for this entry


    fun term(term: String, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = TextAlign.NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null)

    Set the term for this entry to a Text widget.

    All function parameters are forwarded to the Text constructor.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/index.html new file mode 100755 index 000000000..fb8cefd44 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/index.html @@ -0,0 +1,130 @@ + + + + + EmptyWidget + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    EmptyWidget

    +

    A widget with 0 width, 0 height, and no content.

    Can be used as a placeholder in layouts etc.

    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/measure.html new file mode 100755 index 000000000..0debc6a97 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/render.html new file mode 100755 index 000000000..df14cd807 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-empty-widget/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/-horizontal-rule.html b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/-horizontal-rule.html new file mode 100755 index 000000000..3d19e3de8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/-horizontal-rule.html @@ -0,0 +1,76 @@ + + + + + HorizontalRule + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    HorizontalRule

    +
    +
    constructor(title: Widget = EmptyWidget, ruleCharacter: String? = null, ruleStyle: TextStyle? = null, titleAlign: TextAlign = TextAlign.CENTER, titlePadding: Int? = null, titleOverflowTop: Boolean = true)
    constructor(title: String, ruleCharacter: String? = null, ruleStyle: TextStyle? = null, titleAlign: TextAlign = TextAlign.CENTER, titlePadding: Int? = null, titleOverflowTop: Boolean = true)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/index.html new file mode 100755 index 000000000..6f72c04c7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/index.html @@ -0,0 +1,149 @@ + + + + + HorizontalRule + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    HorizontalRule

    +

    A line drawn across the terminal, with an optional title.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(title: Widget = EmptyWidget, ruleCharacter: String? = null, ruleStyle: TextStyle? = null, titleAlign: TextAlign = TextAlign.CENTER, titlePadding: Int? = null, titleOverflowTop: Boolean = true)
    constructor(title: String, ruleCharacter: String? = null, ruleStyle: TextStyle? = null, titleAlign: TextAlign = TextAlign.CENTER, titlePadding: Int? = null, titleOverflowTop: Boolean = true)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/measure.html new file mode 100755 index 000000000..d1e2f4167 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/render.html new file mode 100755 index 000000000..368c2244e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-horizontal-rule/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list.html b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list.html new file mode 100755 index 000000000..dbe9879c7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list.html @@ -0,0 +1,76 @@ + + + + + OrderedList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    OrderedList

    +
    +
    fun OrderedList(vararg listEntries: String, numberStyle: TextStyle? = null, numberSeparator: String? = null): OrderedList
    fun OrderedList(vararg listEntries: Widget, numberStyle: TextStyle? = null, numberSeparator: String? = null): OrderedList
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/-ordered-list.html b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/-ordered-list.html new file mode 100755 index 000000000..85dee3d4e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/-ordered-list.html @@ -0,0 +1,76 @@ + + + + + OrderedList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    OrderedList

    +
    +
    constructor(listEntries: List<Widget>, numberStyle: TextStyle? = null, numberSeparator: String? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/index.html new file mode 100755 index 000000000..a6c2d0bd3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/index.html @@ -0,0 +1,149 @@ + + + + + OrderedList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    OrderedList

    +

    A numbered list of widgets.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(listEntries: List<Widget>, numberStyle: TextStyle? = null, numberSeparator: String? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/measure.html new file mode 100755 index 000000000..1ef46d83e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/render.html new file mode 100755 index 000000000..f79acfea9 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-ordered-list/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/-builder.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/-builder.html new file mode 100755 index 000000000..4928a7662 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/-builder.html @@ -0,0 +1,76 @@ + + + + + Builder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Builder

    +
    +
    constructor(top: Int, right: Int, bottom: Int, left: Int)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/all.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/all.html new file mode 100755 index 000000000..406d8d2e0 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/all.html @@ -0,0 +1,76 @@ + + + + + all + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    all

    +
    +
    var all: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/bottom.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/bottom.html new file mode 100755 index 000000000..c1da82690 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/bottom.html @@ -0,0 +1,76 @@ + + + + + bottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bottom

    +
    +
    var bottom: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/horizontal.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/horizontal.html new file mode 100755 index 000000000..64aef3405 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/horizontal.html @@ -0,0 +1,76 @@ + + + + + horizontal + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    horizontal

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/index.html new file mode 100755 index 000000000..21fabf076 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/index.html @@ -0,0 +1,209 @@ + + + + + Builder + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Builder

    +
    data class Builder(var top: Int, var right: Int, var bottom: Int, var left: Int)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(top: Int, right: Int, bottom: Int, left: Int)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    var all: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    var bottom: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    var left: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    var right: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    var top: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/left.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/left.html new file mode 100755 index 000000000..96ba3976b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/left.html @@ -0,0 +1,76 @@ + + + + + left + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    left

    +
    +
    var left: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/right.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/right.html new file mode 100755 index 000000000..c041a0660 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/right.html @@ -0,0 +1,76 @@ + + + + + right + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    right

    +
    +
    var right: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/top.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/top.html new file mode 100755 index 000000000..ebd066a87 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/top.html @@ -0,0 +1,76 @@ + + + + + top + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    top

    +
    +
    var top: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/vertical.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/vertical.html new file mode 100755 index 000000000..6de1b7bdc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-builder/vertical.html @@ -0,0 +1,76 @@ + + + + + vertical + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    vertical

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-companion/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-companion/index.html new file mode 100755 index 000000000..c0dc612b8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-companion/index.html @@ -0,0 +1,100 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    inline operator fun invoke(block: Padding.Builder.() -> Unit): Padding
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-companion/invoke.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-companion/invoke.html new file mode 100755 index 000000000..b8038a4f2 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-companion/invoke.html @@ -0,0 +1,76 @@ + + + + + invoke + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    invoke

    +
    +
    inline operator fun invoke(block: Padding.Builder.() -> Unit): Padding
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/-padding.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-padding.html new file mode 100755 index 000000000..e85919438 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/-padding.html @@ -0,0 +1,76 @@ + + + + + Padding + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Padding

    +
    +
    constructor(all: Int)
    constructor(top: Int, right: Int, bottom: Int, left: Int)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/bottom.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/bottom.html new file mode 100755 index 000000000..0581a999b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/bottom.html @@ -0,0 +1,76 @@ + + + + + bottom + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    bottom

    +
    +
    val bottom: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/index.html new file mode 100755 index 000000000..69279b2c6 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/index.html @@ -0,0 +1,232 @@ + + + + + Padding + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Padding

    +
    data class Padding(val top: Int, val right: Int, val bottom: Int, val left: Int)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(all: Int)
    constructor(top: Int, right: Int, bottom: Int, left: Int)
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Builder(var top: Int, var right: Int, var bottom: Int, var left: Int)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val bottom: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val left: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val right: Int
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val top: Int
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun Padding.plus(other: Padding): Padding
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/is-empty.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/is-empty.html new file mode 100755 index 000000000..72ccf7b6b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/is-empty.html @@ -0,0 +1,76 @@ + + + + + isEmpty + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    isEmpty

    +
    + +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/left.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/left.html new file mode 100755 index 000000000..d092811f8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/left.html @@ -0,0 +1,76 @@ + + + + + left + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    left

    +
    +
    val left: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/right.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/right.html new file mode 100755 index 000000000..368635f84 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/right.html @@ -0,0 +1,76 @@ + + + + + right + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    right

    +
    +
    val right: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-padding/top.html b/api/mordant/com.github.ajalt.mordant.widgets/-padding/top.html new file mode 100755 index 000000000..3641b5489 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-padding/top.html @@ -0,0 +1,76 @@ + + + + + top + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    top

    +
    +
    val top: Int
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-panel/-panel.html b/api/mordant/com.github.ajalt.mordant.widgets/-panel/-panel.html new file mode 100755 index 000000000..4ab36456d --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-panel/-panel.html @@ -0,0 +1,76 @@ + + + + + Panel + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Panel

    +
    +
    constructor(content: Widget, title: Widget? = null, bottomTitle: Widget? = null, expand: Boolean = false, padding: Padding = DEFAULT_PADDING, borderType: BorderType? = BorderType.ROUNDED, titleAlign: TextAlign = CENTER, bottomTitleAlign: TextAlign = titleAlign, borderStyle: TextStyle? = null, titlePadding: Int? = null)

    Parameters

    content

    The content to draw in the center of the panel.

    title

    The content to draw in the top border

    bottomTitle

    The content to draw in the bottom border

    expand

    If true, the panel will expand horizontally to fill the screen. If false, it will be just wide enough to fit the content.

    padding

    Extra padding to add between the content and the panel border. (default: no extra padding)

    borderType

    The type of border to draw around the content, or null for no border

    titleAlign

    The horizontal alignment for the top title (default: center)

    bottomTitleAlign

    The horizontal alignment for the bottom title (default: copy titleAlign)

    borderStyle

    The TextStyle for the border (default: Theme style panel.border)

    titlePadding

    Amount of horizontal padding to add between the titles and the border characters (default: Theme value panel.title.padding)


    constructor(content: String, title: String? = null, bottomTitle: String? = null, expand: Boolean = false, padding: Padding = DEFAULT_PADDING, borderType: BorderType? = BorderType.ROUNDED, titleAlign: TextAlign = CENTER, bottomTitleAlign: TextAlign = titleAlign, borderStyle: TextStyle? = null, titlePadding: Int? = null)

    Parameters

    content

    The content to draw in the center of the panel.

    title

    The content to draw in the top border

    bottomTitle

    The content to draw in the bottom border

    expand

    If true, the panel will expand horizontally to fill the screen. If false, it will be just wide enough to fit the content.

    padding

    Extra padding to add between the content and the panel border. (default: no extra padding)

    borderType

    The type of border to draw around the content, or null for no border

    titleAlign

    The horizontal alignment for the top title (default: center)

    bottomTitleAlign

    The horizontal alignment for the bottom title (default: copy titleAlign)

    borderStyle

    The TextStyle for the border (default: Theme style panel.border)

    titlePadding

    Amount of horizontal padding to add between the titles and the border characters (default: Theme value panel.title.padding)

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-panel/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-panel/index.html new file mode 100755 index 000000000..a80ca947e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-panel/index.html @@ -0,0 +1,149 @@ + + + + + Panel + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Panel

    +
    class Panel : Widget

    A box drawn around another widget, with optional top and bottom titles.

    Example

    terminal.print(Panel(
    "my panel content",
    title = "title",
    bottomTitle = "subtitle",
    titleAlign = TextAlign.LEFT,
    bottomTitleAlign = TextAlign.RIGHT
    ))
    ╭─ title ────────╮
    │my panel content│
    ╰───── subtitle ─╯
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(content: Widget, title: Widget? = null, bottomTitle: Widget? = null, expand: Boolean = false, padding: Padding = DEFAULT_PADDING, borderType: BorderType? = BorderType.ROUNDED, titleAlign: TextAlign = CENTER, bottomTitleAlign: TextAlign = titleAlign, borderStyle: TextStyle? = null, titlePadding: Int? = null)
    constructor(content: String, title: String? = null, bottomTitle: String? = null, expand: Boolean = false, padding: Padding = DEFAULT_PADDING, borderType: BorderType? = BorderType.ROUNDED, titleAlign: TextAlign = CENTER, bottomTitleAlign: TextAlign = titleAlign, borderStyle: TextStyle? = null, titlePadding: Int? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-panel/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-panel/measure.html new file mode 100755 index 000000000..476f0fb52 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-panel/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-panel/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-panel/render.html new file mode 100755 index 000000000..862f2ad75 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-panel/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/-progress-bar.html b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/-progress-bar.html new file mode 100755 index 000000000..00c55327a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/-progress-bar.html @@ -0,0 +1,76 @@ + + + + + ProgressBar + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBar

    +
    +
    constructor(total: Long = 100, completed: Long = 0, indeterminate: Boolean = false, width: Int? = null, pulsePosition: Float = 0.0f, showPulse: Boolean? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null)

    Parameters

    total

    The bar draws the fraction complete as completed

    completed

    The bar draws the fraction complete as completed

    indeterminate

    If true, total and completed are ignored and the bar draws in an indeterminate state

    width

    The width in characters for this widget

    pulsePosition

    When indeterminate is true, the pulse animation is drawn at a fraction along the bar calculated by pulsePosition % 1.0

    showPulse

    (theme flag: "progressbar.pulse") If false, never draw the pulse animation in the indeterminate state.

    pendingChar

    (theme string: "progressbar.pending") The character to use to draw the pending portion of the bar in the active state.

    separatorChar

    (theme string: "progressbar.separator") The character to draw in between the competed and pending bar in the active state.

    completeChar

    (theme string: "progressbar.complete") The character to use to draw the completed portion of the bar in the active state.

    pendingStyle

    (theme style: "progressbar.pending") The style to use for the pendingChars

    separatorStyle

    (theme style: "progressbar.separator") The style to use for the separatorChar

    completeStyle

    (theme style: "progressbar.complete") The style to use for the completeChar when completed<total

    finishedStyle

    (theme style: "progressbar.complete") The style to use for the completeChar when total<= completed

    indeterminateStyle

    e (theme style: "progressbar.separator") The style to use when indeterminate is true


    constructor(fractionComplete: Float = 0.0f, indeterminate: Boolean = false, width: Int? = null, pulsePosition: Float = 0.0f, showPulse: Boolean? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null)

    Parameters

    fractionComplete

    A number between 0 and 1, with 0 drawing all pendingChars, and 1 drawing all completeChars

    indeterminate

    If true, fractionComplete is ignored and the bar draws in an indeterminate state

    width

    The width in characters for this widget

    pulsePosition

    When indeterminate is true, the pulse animation is drawn at a fraction along the bar calculated by pulsePosition % 1.0

    showPulse

    (theme flag: "progressbar.pulse") If false, never draw the pulse animation in the indeterminate state.

    pendingChar

    (theme string: "progressbar.pending") The character to use to draw the pending portion of the bar in the active state.

    separatorChar

    (theme string: "progressbar.separator") The character to draw in between the competed and pending bar in the active state.

    completeChar

    (theme string: "progressbar.complete") The character to use to draw the completed portion of the bar in the active state.

    pendingStyle

    (theme style: "progressbar.pending") The style to use for the pendingChars

    separatorStyle

    (theme style: "progressbar.separator") The style to use for the separatorChar

    completeStyle

    (theme style: "progressbar.complete") The style to use for the completeChar when fractionComplete< 1

    finishedStyle

    (theme style: "progressbar.complete") The style to use for the completeChar when fractionComplete == 1

    indeterminateStyle

    e (theme style: "progressbar.separator") The style to use when indeterminate is true

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/index.html new file mode 100755 index 000000000..8e198ef8e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/index.html @@ -0,0 +1,149 @@ + + + + + ProgressBar + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    ProgressBar

    +

    A horizontal bar that tracks progress.

    The bar has three states:

    • indeterminate: the bar will draw its full width and show a pulsing animation based on pulsePosition

    • in progress: the bar will draw a width proportional to fractionComplete, or completed / total

    • finished: the bar will draw its full width with no pulse.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(total: Long = 100, completed: Long = 0, indeterminate: Boolean = false, width: Int? = null, pulsePosition: Float = 0.0f, showPulse: Boolean? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null)
    constructor(fractionComplete: Float = 0.0f, indeterminate: Boolean = false, width: Int? = null, pulsePosition: Float = 0.0f, showPulse: Boolean? = null, pendingChar: String? = null, separatorChar: String? = null, completeChar: String? = null, pendingStyle: TextStyle? = null, separatorStyle: TextStyle? = null, completeStyle: TextStyle? = null, finishedStyle: TextStyle? = null, indeterminateStyle: TextStyle? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/measure.html new file mode 100755 index 000000000..505408bd1 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/render.html new file mode 100755 index 000000000..dd321a146 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-progress-bar/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/-entry.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/-entry.html new file mode 100755 index 000000000..ce3dc98dd --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/-entry.html @@ -0,0 +1,76 @@ + + + + + Entry + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Entry

    +
    +
    constructor(title: String, description: String?, selected: Boolean = false)
    constructor(title: String, description: Widget? = null, selected: Boolean = false)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/description.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/description.html new file mode 100755 index 000000000..b76e53774 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/description.html @@ -0,0 +1,76 @@ + + + + + description + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    description

    +
    +
    val description: Widget? = null

    An optional description of the entry.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/index.html new file mode 100755 index 000000000..a95d7aea7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/index.html @@ -0,0 +1,149 @@ + + + + + Entry + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Entry

    +
    data class Entry(val title: String, val description: Widget? = null, val selected: Boolean = false)
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(title: String, description: String?, selected: Boolean = false)
    constructor(title: String, description: Widget? = null, selected: Boolean = false)
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val description: Widget? = null

    An optional description of the entry.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    val selected: Boolean = false

    Whether this entry is marked as selected.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The title of the entry.

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/selected.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/selected.html new file mode 100755 index 000000000..dc9048455 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/selected.html @@ -0,0 +1,76 @@ + + + + + selected + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    selected

    +
    +
    val selected: Boolean = false

    Whether this entry is marked as selected.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/title.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/title.html new file mode 100755 index 000000000..8c1d2da8c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-entry/title.html @@ -0,0 +1,76 @@ + + + + + title + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    title

    +
    +

    The title of the entry.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-select-list.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-select-list.html new file mode 100755 index 000000000..b96bb1aab --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/-select-list.html @@ -0,0 +1,76 @@ + + + + + SelectList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    SelectList

    +
    +
    constructor(entries: List<SelectList.Entry>, title: Widget? = null, cursorIndex: Int = -1, styleOnHover: Boolean = false, cursorMarker: String? = null, selectedMarker: String? = null, unselectedMarker: String? = null, captionBottom: Widget? = null, selectedStyle: TextStyle? = null, cursorStyle: TextStyle? = null, unselectedTitleStyle: TextStyle? = null, unselectedMarkerStyle: TextStyle? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/index.html new file mode 100755 index 000000000..6cf354faa --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/index.html @@ -0,0 +1,168 @@ + + + + + SelectList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    SelectList

    +

    A list widget with selectable items.

    Use interactiveSelectList to create a list that can be interacted with.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(entries: List<SelectList.Entry>, title: Widget? = null, cursorIndex: Int = -1, styleOnHover: Boolean = false, cursorMarker: String? = null, selectedMarker: String? = null, unselectedMarker: String? = null, captionBottom: Widget? = null, selectedStyle: TextStyle? = null, cursorStyle: TextStyle? = null, unselectedTitleStyle: TextStyle? = null, unselectedMarkerStyle: TextStyle? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Entry(val title: String, val description: Widget? = null, val selected: Boolean = false)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/measure.html new file mode 100755 index 000000000..7f1feca27 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-select-list/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/render.html new file mode 100755 index 000000000..258973a04 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-select-list/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/-dots.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/-dots.html new file mode 100755 index 000000000..2bdc140fc --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/-dots.html @@ -0,0 +1,76 @@ + + + + + Dots + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Dots

    +
    +
    fun Dots(style: TextStyle = DEFAULT_STYLE, duration: Int = 1, initial: Int = 0): Spinner

    Create a spinner with the following frames:

    ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/-lines.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/-lines.html new file mode 100755 index 000000000..b7090c0de --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/-lines.html @@ -0,0 +1,76 @@ + + + + + Lines + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Lines

    +
    +
    fun Lines(style: TextStyle = DEFAULT_STYLE, duration: Int = 1, initial: Int = 0): Spinner

    Create a spinner with the following frames:

    |/-\

    These frames only use ASCII characters.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/index.html new file mode 100755 index 000000000..93d42163c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-companion/index.html @@ -0,0 +1,115 @@ + + + + + Companion + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Companion

    +
    object Companion
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Dots(style: TextStyle = DEFAULT_STYLE, duration: Int = 1, initial: Int = 0): Spinner

    Create a spinner with the following frames:

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Lines(style: TextStyle = DEFAULT_STYLE, duration: Int = 1, initial: Int = 0): Spinner

    Create a spinner with the following frames:

    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-spinner.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-spinner.html new file mode 100755 index 000000000..cd28f1f2c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/-spinner.html @@ -0,0 +1,76 @@ + + + + + Spinner + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Spinner

    +
    +
    constructor(frames: String, style: TextStyle = DEFAULT_STYLE, duration: Int = 1, initial: Int = 0)

    Construct a Spinner from a string, where each character in the string is one frame.


    constructor(frames: List<Widget>, duration: Int = 1, initial: Int = 0)

    Parameters

    initial

    the starting tick value.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/advance-tick.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/advance-tick.html new file mode 100755 index 000000000..6c4270840 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/advance-tick.html @@ -0,0 +1,76 @@ + + + + + advanceTick + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    advanceTick

    +
    +

    Increment the tick value by one and return the new value.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/current-frame.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/current-frame.html new file mode 100755 index 000000000..2e954b20c --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/current-frame.html @@ -0,0 +1,76 @@ + + + + + currentFrame + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    currentFrame

    +
    +

    The current frame

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/index.html new file mode 100755 index 000000000..6a041256b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/index.html @@ -0,0 +1,217 @@ + + + + + Spinner + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Spinner

    +
    class Spinner(frames: List<Widget>, duration: Int = 1, initial: Int = 0) : Widget

    A widget that will loop through a fixed list of frames.

    The widget will render the same frame until tick is set or advanceTick is called, at which point the next frame will render. The animation will loop when tick is larger than the number frames.

    To reduce the speed of the animation, increase the duration.

    Parameters

    initial

    the starting tick value.

    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(frames: String, style: TextStyle = DEFAULT_STYLE, duration: Int = 1, initial: Int = 0)

    Construct a Spinner from a string, where each character in the string is one frame.

    constructor(frames: List<Widget>, duration: Int = 1, initial: Int = 0)
    +
    +
    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    object Companion
    +
    +
    +
    +
    +
    +
    +
    +

    Properties

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    The current frame

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    var tick: Int

    The current frame number.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Increment the tick value by one and return the new value.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/measure.html new file mode 100755 index 000000000..ba2c28c3f --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/render.html new file mode 100755 index 000000000..cb8570e07 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-spinner/tick.html b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/tick.html new file mode 100755 index 000000000..6ecbd960b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-spinner/tick.html @@ -0,0 +1,76 @@ + + + + + tick + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    tick

    +
    +
    var tick: Int

    The current frame number.

    This may be larger than the number of frames, in which case the animation will loop.

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-text/-text.html b/api/mordant/com.github.ajalt.mordant.widgets/-text/-text.html new file mode 100755 index 000000000..4ad3c3b06 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-text/-text.html @@ -0,0 +1,76 @@ + + + + + Text + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Text

    +
    +
    constructor(text: String, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, tabWidth: Int? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-text/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-text/index.html new file mode 100755 index 000000000..83cf2c3b5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-text/index.html @@ -0,0 +1,164 @@ + + + + + Text + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Text

    +
    class Text : Widget
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(text: String, whitespace: Whitespace = Whitespace.PRE, align: TextAlign = NONE, overflowWrap: OverflowWrap = OverflowWrap.NORMAL, width: Int? = null, tabWidth: Int? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun toString(): String
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-text/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-text/measure.html new file mode 100755 index 000000000..99f77c57e --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-text/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-text/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-text/render.html new file mode 100755 index 000000000..1c98ebbef --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-text/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-text/to-string.html b/api/mordant/com.github.ajalt.mordant.widgets/-text/to-string.html new file mode 100755 index 000000000..6d871781a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-text/to-string.html @@ -0,0 +1,76 @@ + + + + + toString + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    toString

    +
    +
    open override fun toString(): String
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list.html b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list.html new file mode 100755 index 000000000..4a2bc4882 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list.html @@ -0,0 +1,76 @@ + + + + + UnorderedList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    UnorderedList

    +
    +
    fun UnorderedList(vararg listEntries: String, bulletText: String? = null, bulletStyle: TextStyle? = null): UnorderedList
    fun UnorderedList(vararg listEntries: Widget, bulletText: String? = null, bulletStyle: TextStyle? = null): UnorderedList
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/-unordered-list.html b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/-unordered-list.html new file mode 100755 index 000000000..4808547d7 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/-unordered-list.html @@ -0,0 +1,76 @@ + + + + + UnorderedList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    UnorderedList

    +
    +
    constructor(listEntries: List<Widget>, bulletText: String? = null, bulletStyle: TextStyle? = null)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/index.html new file mode 100755 index 000000000..a612d65fb --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/index.html @@ -0,0 +1,149 @@ + + + + + UnorderedList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    UnorderedList

    + +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(listEntries: List<Widget>, bulletText: String? = null, bulletStyle: TextStyle? = null)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/measure.html new file mode 100755 index 000000000..27b2293a8 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/render.html new file mode 100755 index 000000000..d7f36591a --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-unordered-list/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-viewport/-viewport.html b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/-viewport.html new file mode 100755 index 000000000..1597c1270 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/-viewport.html @@ -0,0 +1,76 @@ + + + + + Viewport + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Viewport

    +
    +
    constructor(content: Widget, width: Int?, height: Int? = null, scrollRight: Int = 0, scrollDown: Int = 0)
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-viewport/index.html b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/index.html new file mode 100755 index 000000000..ff63d5ec3 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/index.html @@ -0,0 +1,149 @@ + + + + + Viewport + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Viewport

    +
    class Viewport(content: Widget, width: Int?, height: Int? = null, scrollRight: Int = 0, scrollDown: Int = 0) : Widget

    Crop or pad another content widget to a fixed size, and optionally scroll visible portion of the widget within that size.

    If width or height are larger than the size of the content widget, the extra space will be filled with spaces.

    You can specify scrollRight and scrollDown to scroll the viewport across the content. Negative values will scroll the widget to the right or up, respectively.

    Example

    val text = Text(
    """
    123
    456
    7890
    """.trimIndent()
    )

    val viewport1 = Viewport(text, width = 2, height = 2, scrollRight = 1, scrollDown = 1)
    terminal.println(Panel(viewport1))

    val viewport2 = Viewport(text, width = 2, height = 2, scrollRight = -1, scrollDown = -1)
    terminal.println(Panel(viewport2))

    Will print the following:

    ╭──╮
    │56│
    │89│
    ╰──╯
    ╭──╮
    │ │
    │ 1│
    ╰──╯
    +
    +
    +
    +
    +
    +

    Constructors

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    constructor(content: Widget, width: Int?, height: Int? = null, scrollRight: Int = 0, scrollDown: Int = 0)
    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-viewport/measure.html b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/measure.html new file mode 100755 index 000000000..8f6206369 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/measure.html @@ -0,0 +1,76 @@ + + + + + measure + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    measure

    +
    +
    open override fun measure(t: Terminal, width: Int): WidthRange
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/-viewport/render.html b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/render.html new file mode 100755 index 000000000..e5de38bc5 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/-viewport/render.html @@ -0,0 +1,76 @@ + + + + + render + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    render

    +
    +
    open override fun render(t: Terminal, width: Int): Lines
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/definition-list.html b/api/mordant/com.github.ajalt.mordant.widgets/definition-list.html new file mode 100755 index 000000000..5ec802776 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/definition-list.html @@ -0,0 +1,76 @@ + + + + + definitionList + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    definitionList

    +
    +

    Build a definition list widget.

    Call entry to add entries

    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/index.html b/api/mordant/com.github.ajalt.mordant.widgets/index.html new file mode 100755 index 000000000..2ba454c27 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/index.html @@ -0,0 +1,373 @@ + + + + + com.github.ajalt.mordant.widgets + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    Package-level declarations

    +
    +
    +
    +
    +
    +

    Types

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Caption(val content: Widget, val top: Widget? = null, val bottom: Widget? = null) : Widget

    Add a top and/or bottom caption to content

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    + +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    + +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A widget with 0 width, 0 height, and no content.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A line drawn across the terminal, with an optional title.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A numbered list of widgets.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    data class Padding(val top: Int, val right: Int, val bottom: Int, val left: Int)
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Panel : Widget

    A box drawn around another widget, with optional top and bottom titles.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A horizontal bar that tracks progress.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    A list widget with selectable items.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Spinner(frames: List<Widget>, duration: Int = 1, initial: Int = 0) : Widget

    A widget that will loop through a fixed list of frames.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Text : Widget
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    class Viewport(content: Widget, width: Int?, height: Int? = null, scrollRight: Int = 0, scrollDown: Int = 0) : Widget

    Crop or pad another content widget to a fixed size, and optionally scroll visible portion of the widget within that size.

    +
    +
    +
    +
    +
    +
    +
    +

    Functions

    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +

    Build a definition list widget.

    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun OrderedList(vararg listEntries: Widget, numberStyle: TextStyle? = null, numberSeparator: String? = null): OrderedList
    fun OrderedList(vararg listEntries: String, numberStyle: TextStyle? = null, numberSeparator: String? = null): OrderedList
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    operator fun Padding.plus(other: Padding): Padding
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun UnorderedList(vararg listEntries: Widget, bulletText: String? = null, bulletStyle: TextStyle? = null): UnorderedList
    fun UnorderedList(vararg listEntries: String, bulletText: String? = null, bulletStyle: TextStyle? = null): UnorderedList
    +
    +
    +
    +
    + +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/plus.html b/api/mordant/com.github.ajalt.mordant.widgets/plus.html new file mode 100755 index 000000000..b9a4e3e06 --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/plus.html @@ -0,0 +1,76 @@ + + + + + plus + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    plus

    +
    +
    operator fun Padding.plus(other: Padding): Padding
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/com.github.ajalt.mordant.widgets/with-padding.html b/api/mordant/com.github.ajalt.mordant.widgets/with-padding.html new file mode 100755 index 000000000..2f03d1c0b --- /dev/null +++ b/api/mordant/com.github.ajalt.mordant.widgets/with-padding.html @@ -0,0 +1,76 @@ + + + + + withPadding + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    withPadding

    +
    +
    fun Widget.withPadding(padding: Padding, padEmptyLines: Boolean = true): Widget

    Add padding around this widget.

    By default, horizontal padding will be added to every line of the output, even if the line is empty. If you set padEmptyLines to false, no padding will be added to empty lines.


    fun Widget.withPadding(all: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(top: Int, right: Int, bottom: Int, left: Int, padEmptyLines: Boolean = true): Widget
    fun Widget.withPadding(padEmptyLines: Boolean = true, padding: Padding.Builder.() -> Unit): Widget
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/index.html b/api/mordant/index.html new file mode 100755 index 000000000..43085f76c --- /dev/null +++ b/api/mordant/index.html @@ -0,0 +1,260 @@ + + + + + mordant + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    + +
    +

    mordant

    +
    +

    Packages

    +
    +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + +
    Link copied to clipboard
    +
    +
    +
    +
    common
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + + + diff --git a/api/mordant/navigation.html b/api/mordant/navigation.html new file mode 100755 index 000000000..16189cee6 --- /dev/null +++ b/api/mordant/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/navigation.html b/api/navigation.html new file mode 100755 index 000000000..d0ce6ef19 --- /dev/null +++ b/api/navigation.html @@ -0,0 +1,1462 @@ +
    +
    +
    + mordant +
    +
    + +
    +
    + Animation +
    +
    +
    + +
    +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    + +
    + +
    + +
    + +
    +
    + +
    +
    + Status +
    +
    +
    + Companion +
    +
    +
    +
    + Continue +
    +
    +
    +
    + Finished +
    +
    +
    +
    + + + + +
    +
    + isCtrlC +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + Off +
    +
    +
    +
    + Normal +
    +
    +
    +
    + Button +
    +
    +
    +
    + Any +
    +
    +
    +
    + +
    +
    + +
    + + +
    + +
    + +
    +
    + AnsiLevel +
    +
    +
    + NONE +
    +
    +
    +
    + ANSI16 +
    +
    +
    +
    + ANSI256 +
    +
    +
    +
    + TRUECOLOR +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    + +
    +
    + Line +
    +
    +
    +
    + Lines +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    + +
    +
    +
    + TRUNCATE +
    +
    +
    +
    + ELLIPSES +
    +
    +
    +
    +
    + plus() +
    +
    +
    +
    + Size +
    +
    +
    +
    + Span +
    +
    +
    + Companion +
    +
    +
    +
    +
    + TextAlign +
    +
    +
    + LEFT +
    +
    +
    +
    + RIGHT +
    +
    +
    +
    + CENTER +
    +
    +
    +
    + JUSTIFY +
    +
    +
    +
    + NONE +
    +
    +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + black +
    +
    +
    +
    + red +
    +
    +
    +
    + green +
    +
    +
    +
    + yellow +
    +
    +
    +
    + blue +
    +
    +
    +
    + magenta +
    +
    +
    +
    + cyan +
    +
    +
    +
    + white +
    +
    +
    +
    + gray +
    +
    +
    +
    + brightRed +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    +
    + TextStyle +
    +
    +
    + +
    +
    + +
    +
    + Companion +
    +
    +
    +
    + bold +
    +
    +
    +
    + dim +
    +
    +
    +
    + italic +
    +
    +
    +
    + underline +
    +
    +
    +
    + inverse +
    +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + reset +
    +
    +
    +
    +
    + Theme +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Theme() +
    +
    +
    + +
    +
    + +
    +
    + TOP +
    +
    +
    +
    + MIDDLE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + +
    +
    + NORMAL +
    +
    +
    +
    + NOWRAP +
    +
    +
    +
    + PRE +
    +
    +
    +
    + PRE_WRAP +
    +
    +
    +
    + PRE_LINE +
    +
    +
    +
    +
    + Widget +
    +
    +
    + +
    +
    +
    + +
    +
    + Borders +
    +
    +
    + NONE +
    +
    +
    +
    + BOTTOM +
    +
    +
    +
    + RIGHT +
    +
    +
    + +
    +
    +
    + TOP +
    +
    +
    + +
    +
    +
    + TOP_RIGHT +
    +
    + +
    +
    + LEFT +
    +
    +
    + +
    +
    + +
    + +
    +
    + LEFT_TOP +
    +
    +
    + +
    +
    + +
    +
    +
    + ALL +
    +
    +
    +
    + +
    + + +
    + +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + +
    +
    + ALL +
    +
    +
    +
    + MINIMAL +
    +
    +
    + +
    +
    +
    + NONE +
    +
    +
    +
    +
    + grid() +
    +
    +
    + +
    + + + +
    + +
    +
    + +
    + +
    + +
    +
    +
    + Table +
    +
    +
    +
    + table() +
    +
    +
    + +
    + + +
    +
    + +
    + +
    +
    + Companion +
    +
    +
    +
    + +
    +
    + Invalid +
    +
    +
    +
    + Valid +
    +
    +
    +
    + +
    +
    +
    + danger() +
    +
    +
    +
    + info() +
    +
    +
    +
    + muted() +
    +
    +
    + +
    +
    + +
    +
    +
    + Prompt +
    +
    +
    +
    + prompt() +
    +
    + +
    + +
    +
    +
    + success() +
    +
    +
    +
    + Terminal +
    +
    +
    + +
    + +
    + +
    + + + +
    +
    + warning() +
    +
    +
    + +
    +
    + +
    + +
    +
    + Caption +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + Padding +
    +
    +
    + Builder +
    +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Panel +
    +
    +
    +
    + plus() +
    +
    +
    + +
    +
    + +
    +
    + Entry +
    +
    +
    +
    +
    + Spinner +
    +
    +
    + Companion +
    +
    +
    +
    +
    + Text +
    +
    +
    + +
    +
    + +
    +
    +
    + Viewport +
    +
    +
    + +
    +
    +
    + +
    +
    + build() +
    +
    +
    +
    + cache() +
    +
    + + + +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    +
    + isPaused +
    +
    +
    +
    + isRunning +
    +
    +
    +
    + marquee() +
    +
    + +
    +
    + pauseTime +
    +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + +
    + +
    +
    + Status +
    +
    +
    + Finished +
    +
    +
    + +
    +
    +
    + Paused +
    +
    +
    +
    + Running +
    +
    +
    +
    +
    + +
    +
    +
    + speed() +
    +
    +
    +
    + spinner() +
    +
    +
    +
    + startTime +
    +
    +
    +
    + TaskId +
    +
    +
    +
    + text() +
    +
    +
    + +
    +
    + +
    +
    +
    + + + + + +
    diff --git a/api/package-list b/api/package-list new file mode 100755 index 000000000..7a4cdcb42 --- /dev/null +++ b/api/package-list @@ -0,0 +1,25 @@ +$dokka.format:html-v1 +$dokka.linkExtension:html + +module:mordant +com.github.ajalt.mordant.animation +com.github.ajalt.mordant.animation.progress +com.github.ajalt.mordant.input +com.github.ajalt.mordant.platform +com.github.ajalt.mordant.rendering +com.github.ajalt.mordant.table +com.github.ajalt.mordant.terminal +com.github.ajalt.mordant.terminal.terminalinterface +com.github.ajalt.mordant.widgets +com.github.ajalt.mordant.widgets.progress +module:mordant-coroutines +com.github.ajalt.mordant.animation.coroutines +com.github.ajalt.mordant.input.coroutines +module:mordant-jvm-ffm +com.github.ajalt.mordant.terminal.terminalinterface.ffm +module:mordant-jvm-graal-ffi +com.github.ajalt.mordant.terminal.terminalinterface.nativeimage +module:mordant-jvm-jna +com.github.ajalt.mordant.terminal.terminalinterface.jna +module:mordant-markdown +com.github.ajalt.mordant.markdown diff --git a/api/scripts/clipboard.js b/api/scripts/clipboard.js new file mode 100755 index 000000000..7a4f33c59 --- /dev/null +++ b/api/scripts/clipboard.js @@ -0,0 +1,56 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +window.addEventListener('load', () => { + document.querySelectorAll('span.copy-icon').forEach(element => { + element.addEventListener('click', (el) => copyElementsContentToClipboard(element)); + }) + + document.querySelectorAll('span.anchor-icon').forEach(element => { + element.addEventListener('click', (el) => { + if(element.hasAttribute('pointing-to')){ + const location = hrefWithoutCurrentlyUsedAnchor() + '#' + element.getAttribute('pointing-to') + copyTextToClipboard(element, location) + } + }); + }) +}) + +const copyElementsContentToClipboard = (element) => { + const selection = window.getSelection(); + const range = document.createRange(); + range.selectNodeContents(element.parentNode.parentNode); + selection.removeAllRanges(); + selection.addRange(range); + + copyAndShowPopup(element, () => selection.removeAllRanges()) +} + +const copyTextToClipboard = (element, text) => { + var textarea = document.createElement("textarea"); + textarea.textContent = text; + textarea.style.position = "fixed"; + document.body.appendChild(textarea); + textarea.select(); + + copyAndShowPopup(element, () => document.body.removeChild(textarea)) +} + +const copyAndShowPopup = (element, after) => { + try { + document.execCommand('copy'); + element.nextElementSibling.classList.add('active-popup'); + setTimeout(() => { + element.nextElementSibling.classList.remove('active-popup'); + }, 1200); + } catch (e) { + console.error('Failed to write to clipboard:', e) + } + finally { + if(after) after() + } +} + +const hrefWithoutCurrentlyUsedAnchor = () => window.location.href.split('#')[0] + diff --git a/api/scripts/main.js b/api/scripts/main.js new file mode 100755 index 000000000..ba6c34739 --- /dev/null +++ b/api/scripts/main.js @@ -0,0 +1,44 @@ +(()=>{var e={8527:e=>{e.exports=''},5570:e=>{e.exports=''},107:e=>{e.exports=''},7224:e=>{e.exports=''},538:e=>{e.exports=''},1924:(e,n,t)=>{"use strict";var r=t(210),o=t(5559),i=o(r("String.prototype.indexOf"));e.exports=function(e,n){var t=r(e,!!n);return"function"==typeof t&&i(e,".prototype.")>-1?o(t):t}},5559:(e,n,t)=>{"use strict";var r=t(8612),o=t(210),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),u=o("%Object.defineProperty%",!0),s=o("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var n=l(r,a,arguments);if(c&&u){var t=c(n,"length");t.configurable&&u(n,"length",{value:1+s(0,e.length-(arguments.length-1))})}return n};var f=function(){return l(r,i,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},4184:(e,n)=>{var t; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{"use strict";e.exports=function(e,n){var t=this,r=t.constructor;return t.options=Object.assign({storeInstancesGlobally:!0},n||{}),t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer=null,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),t.options.storeInstancesGlobally&&r.instances.push(t),t},e.exports.prototype.bind=t(2207),e.exports.prototype.bindMultiple=t(3396),e.exports.prototype.unbind=t(9208),e.exports.prototype.trigger=t(9855),e.exports.prototype.reset=t(6214),e.exports.prototype.stopCallback=t(3450),e.exports.prototype.handleKey=t(3067),e.exports.prototype.addEvents=t(718),e.exports.prototype.bindSingle=t(8763),e.exports.prototype.getKeyInfo=t(5825),e.exports.prototype.pickBestAction=t(8608),e.exports.prototype.getReverseMap=t(3956),e.exports.prototype.getMatches=t(3373),e.exports.prototype.resetSequences=t(3346),e.exports.prototype.fireCallback=t(2684),e.exports.prototype.bindSequence=t(7103),e.exports.prototype.resetSequenceTimer=t(7309),e.exports.prototype.detach=t(7554),e.exports.instances=[],e.exports.reset=t(1822),e.exports.REVERSE_MAP=null},718:(e,n,t)=>{"use strict";e.exports=function(){var e=this,n=t(4323),r=e.element;e.eventHandler=t(9646).bind(e),n(r,"keypress",e.eventHandler),n(r,"keydown",e.eventHandler),n(r,"keyup",e.eventHandler)}},2207:e=>{"use strict";e.exports=function(e,n,t){return e=e instanceof Array?e:[e],this.bindMultiple(e,n,t),this}},3396:e=>{"use strict";e.exports=function(e,n,t){for(var r=0;r{"use strict";e.exports=function(e,n,r,o){var i=this;function a(n){return function(){i.nextExpectedAction=n,++i.sequenceLevels[e],i.resetSequenceTimer()}}function l(n){var a;i.fireCallback(r,n,e),"keyup"!==o&&(a=t(6770),i.ignoreNextKeyup=a(n)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var c=0;c{"use strict";e.exports=function(e,n,t,r,o){var i=this;i.directMap[e+":"+t]=n;var a,l=(e=e.replace(/\s+/g," ")).split(" ");l.length>1?i.bindSequence(e,l,n,t):(a=i.getKeyInfo(e,t),i.callbacks[a.key]=i.callbacks[a.key]||[],i.getMatches(a.key,a.modifiers,{type:a.action},r,e,o),i.callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:e}))}},7554:(e,n,t)=>{var r=t(4323).off;e.exports=function(){var e=this,n=e.element;r(n,"keypress",e.eventHandler),r(n,"keydown",e.eventHandler),r(n,"keyup",e.eventHandler)}},4323:e=>{function n(e,n,t,r){return!e.addEventListener&&(n="on"+n),(e.addEventListener||e.attachEvent).call(e,n,t,r),t}e.exports=n,e.exports.on=n,e.exports.off=function(e,n,t,r){return!e.removeEventListener&&(n="on"+n),(e.removeEventListener||e.detachEvent).call(e,n,t,r),t}},2684:(e,n,t)=>{"use strict";e.exports=function(e,n,r,o){this.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(t(1350)(n),t(6103)(n))}},5825:(e,n,t)=>{"use strict";e.exports=function(e,n){var r,o,i,a,l,c,u=[];for(r=t(4520)(e),a=t(7549),l=t(5355),c=t(8581),i=0;i{"use strict";e.exports=function(e,n,r,o,i,a){var l,c,u,s,f=this,p=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(f.callbacks["any-character"]||[]).forEach((function(e){p.push(e)}));if(!f.callbacks[e])return p;for(u=t(8581),"keyup"===d&&u(e)&&(n=[e]),l=0;l{"use strict";e.exports=function(){var e,n=this.constructor;if(!n.REVERSE_MAP)for(var r in n.REVERSE_MAP={},e=t(4766))r>95&&r<112||e.hasOwnProperty(r)&&(n.REVERSE_MAP[e[r]]=r);return n.REVERSE_MAP}},3067:(e,n,t)=>{"use strict";e.exports=function(e,n,r){var o,i,a,l,c=this,u={},s=0,f=!1;for(o=c.getMatches(e,n,r),i=0;i{"use strict";e.exports=function(e){var n,r=this;"number"!=typeof e.which&&(e.which=e.keyCode);var o=t(6770)(e);void 0!==o&&("keyup"!==e.type||r.ignoreNextKeyup!==o?(n=t(4610),r.handleKey(o,n(e),e)):r.ignoreNextKeyup=!1)}},5532:e=>{"use strict";e.exports=function(e,n){return e.sort().join(",")===n.sort().join(",")}},8608:e=>{"use strict";e.exports=function(e,n,t){return t||(t=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===t&&n.length&&(t="keydown"),t}},6214:e=>{"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},7309:e=>{"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},3346:e=>{"use strict";e.exports=function(e){var n=this;e=e||{};var t,r=!1;for(t in n.sequenceLevels)e[t]?r=!0:n.sequenceLevels[t]=0;r||(n.nextExpectedAction=!1)}},3450:e=>{"use strict";e.exports=function(e,n){if((" "+n.className+" ").indexOf(" combokeys ")>-1)return!1;var t=n.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||n.isContentEditable}},9855:e=>{"use strict";e.exports=function(e,n){return this.directMap[e+":"+n]&&this.directMap[e+":"+n]({},e),this}},9208:e=>{"use strict";e.exports=function(e,n){return this.bind(e,(function(){}),n)}},1822:e=>{"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},6770:(e,n,t)=>{"use strict";e.exports=function(e){var n,r;if(n=t(4766),r=t(5295),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==n[e.which]?n[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},4610:e=>{"use strict";e.exports=function(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}},8581:e=>{"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},4520:e=>{"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},1350:e=>{"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},5355:e=>{"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},7549:e=>{"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},5295:e=>{"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},4766:e=>{"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var n=1;n<20;++n)e.exports[111+n]="f"+n;for(n=0;n<=9;++n)e.exports[n+96]=n},6103:e=>{"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},3362:()=>{var e;!function(){var e=Math.PI,n=2*e,t=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var n=e.stops;this.stops=(n||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var t=0;t0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,n){if(void 0===e.pos){for(var t=n+1;this[t];t++)if(void 0!==this[t].pos){e.pos=this[n-1].pos+(this[t].pos-this[n-1].pos)/(t-n+1);break}}else n>0&&(e.pos=Math.max(e.pos,this[n-1].pos))}),this.stops),this.repeating){var l=(n=this.stops.slice())[n.length-1].pos-n[0].pos;for(t=0;this.stops[this.stops.length-1].pos<1&&t<1e4;t++)for(var c=0;c'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,n,r,o=this.context,i=this.r,a=this.size/2,l=0,c=this.stops[l];o.translate(this.size/2,this.size/2),o.rotate(-90*t),o.rotate(this.from*t),o.translate(-this.size/2,-this.size/2);for(var u=0;u<360;){if(u/360+1e-5>=c.pos){do{e=c,l++,c=this.stops[l]}while(c&&c!=e&&c.pos===e.pos);if(!c)break;var s=e.color+""==c.color+""&&e!=c;n=e.color.map((function(e,n){return c.color[n]-e}))}r=(u/360-e.pos)/(c.pos-e.pos);var f=s?c.color:n.map((function(n,t){var o=n*r+e.color[t];return t<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),s)var p=360*(c.pos-e.pos);else p=.5;var d=u*t,h=(d=Math.min(360*t,d))+p*t;h=Math.min(360*t,h+.02),o.arc(a,a,i,d,h),o.closePath(),o.fill(),u+=p}}},o.ColorStop=function(e,t){if(this.gradient=e,t){var r=t.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/n)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var n=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return n&&(n.shift(),(n=n.map((function(e){return+e})))[3]=isNaN(n[3])?1:n[3]),n||[0,0,0,0]}return e}}(),self.StyleFix&&((e=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",e.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",e.style.backgroundImage||StyleFix.register((function(e,n){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,n){return new ConicGradient({stops:n,repeating:e.indexOf("repeating-")>-1})}))),e})))},9662:(e,n,t)=>{var r=t(7854),o=t(614),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,n,t)=>{var r=t(7854),o=t(4411),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,n,t)=>{var r=t(7854),o=t(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,n,t)=>{var r=t(5112),o=t(30),i=t(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},1530:(e,n,t)=>{"use strict";var r=t(8710).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},5787:(e,n,t)=>{var r=t(7854),o=t(7976),i=r.TypeError;e.exports=function(e,n){if(o(n,e))return e;throw i("Incorrect invocation")}},9670:(e,n,t)=>{var r=t(7854),o=t(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,n,t)=>{var r=t(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,n,t)=>{"use strict";var r=t(2092).forEach,o=t(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:(e,n,t)=>{"use strict";var r=t(7854),o=t(9974),i=t(6916),a=t(7908),l=t(3411),c=t(7659),u=t(4411),s=t(6244),f=t(6135),p=t(8554),d=t(1246),h=r.Array;e.exports=function(e){var n=a(e),t=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,r>2?arguments[2]:void 0));var A,b,m,y,E,_,C=d(n),w=0;if(!C||this==h&&c(C))for(A=s(n),b=t?new this(A):h(A);A>w;w++)_=v?g(n[w],w):n[w],f(b,w,_);else for(E=(y=p(n,C)).next,b=t?new this:[];!(m=i(E,y)).done;w++)_=v?l(y,g,[m.value,w],!0):m.value,f(b,w,_);return b.length=w,b}},1318:(e,n,t)=>{var r=t(5656),o=t(1400),i=t(6244),a=function(e){return function(n,t,a){var l,c=r(n),u=i(c),s=o(a,u);if(e&&t!=t){for(;u>s;)if((l=c[s++])!=l)return!0}else for(;u>s;s++)if((e||s in c)&&c[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,n,t)=>{var r=t(9974),o=t(1702),i=t(8361),a=t(7908),l=t(6244),c=t(5417),u=o([].push),s=function(e){var n=1==e,t=2==e,o=3==e,s=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,v,A){for(var b,m,y=a(h),E=i(y),_=r(g,v),C=l(E),w=0,x=A||c,k=n?x(h,C):t||p?x(h,0):void 0;C>w;w++)if((d||w in E)&&(m=_(b=E[w],w,y),e))if(n)k[w]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:u(k,b)}else switch(e){case 4:return!1;case 7:u(k,b)}return f?-1:o||s?s:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(e,n,t)=>{var r=t(7293),o=t(5112),i=t(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},9341:(e,n,t)=>{"use strict";var r=t(7293);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){throw 1},1)}))}},3671:(e,n,t)=>{var r=t(7854),o=t(9662),i=t(7908),a=t(8361),l=t(6244),c=r.TypeError,u=function(e){return function(n,t,r,u){o(t);var s=i(n),f=a(s),p=l(s),d=e?p-1:0,h=e?-1:1;if(r<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw c("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=t(u,f[d],d,s));return u}};e.exports={left:u(!1),right:u(!0)}},206:(e,n,t)=>{var r=t(1702);e.exports=r([].slice)},4362:(e,n,t)=>{var r=t(206),o=Math.floor,i=function(e,n){var t=e.length,c=o(t/2);return t<8?a(e,n):l(e,i(r(e,0,c),n),i(r(e,c),n),n)},a=function(e,n){for(var t,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=t)}return e},l=function(e,n,t,r){for(var o=n.length,i=t.length,a=0,l=0;a{var r=t(7854),o=t(3157),i=t(4411),a=t(111),l=t(5112)("species"),c=r.Array;e.exports=function(e){var n;return o(e)&&(n=e.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[l]))&&(n=void 0)),void 0===n?c:n}},5417:(e,n,t)=>{var r=t(7475);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},3411:(e,n,t)=>{var r=t(9670),o=t(9212);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},7072:(e,n,t)=>{var r=t(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4326:(e,n,t)=>{var r=t(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,n,t)=>{var r=t(7854),o=t(1694),i=t(614),a=t(4326),l=t(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=c(e),l))?t:u?a(n):"Object"==(r=a(n))&&i(n.callee)?"Arguments":r}},5631:(e,n,t)=>{"use strict";var r=t(3070).f,o=t(30),i=t(2248),a=t(9974),l=t(5787),c=t(408),u=t(654),s=t(6340),f=t(9781),p=t(2423).fastKey,d=t(9909),h=d.set,g=d.getterFor;e.exports={getConstructor:function(e,n,t,u){var s=e((function(e,r){l(e,d),h(e,{type:n,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:t})})),d=s.prototype,v=g(n),A=function(e,n,t){var r,o,i=v(e),a=b(e,n);return a?a.value=t:(i.last=a={index:o=p(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,n){var t,r=v(e),o=p(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key==n)return t};return i(d,{clear:function(){for(var e=v(this),n=e.index,t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete n[t.index],t=t.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var n=this,t=v(n),r=b(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first==r&&(t.first=o),t.last==r&&(t.last=i),f?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!b(this,e)}}),i(d,t?{get:function(e){var n=b(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,n,t){var r=n+" Iterator",o=g(n),i=g(r);u(e,n,(function(e,n){h(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?"keys"==n?{value:t.key,done:!1}:"values"==n?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),s(n)}}},9320:(e,n,t)=>{"use strict";var r=t(1702),o=t(2248),i=t(2423).getWeakData,a=t(9670),l=t(111),c=t(5787),u=t(408),s=t(2092),f=t(2597),p=t(9909),d=p.set,h=p.getterFor,g=s.find,v=s.findIndex,A=r([].splice),b=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,n){return g(e.entries,(function(e){return e[0]===n}))};y.prototype={get:function(e){var n=E(this,e);if(n)return n[1]},has:function(e){return!!E(this,e)},set:function(e,n){var t=E(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=v(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var s=e((function(e,o){c(e,p),d(e,{type:n,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:t})})),p=s.prototype,g=h(n),v=function(e,n,t){var r=g(e),o=i(a(n),!0);return!0===o?m(r).set(n,t):o[r.id]=t,e};return o(p,{delete:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).delete(e):t&&f(t,n.id)&&delete t[n.id]},has:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).has(e):t&&f(t,n.id)}}),o(p,t?{get:function(e){var n=g(this);if(l(e)){var t=i(e);return!0===t?m(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return v(this,e,n)}}:{add:function(e){return v(this,e,!0)}}),s}}},7710:(e,n,t)=>{"use strict";var r=t(2109),o=t(7854),i=t(1702),a=t(4705),l=t(1320),c=t(2423),u=t(408),s=t(5787),f=t(614),p=t(111),d=t(7293),h=t(7072),g=t(8003),v=t(9587);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),m=A?"set":"add",y=o[e],E=y&&y.prototype,_=y,C={},w=function(e){var n=i(E[e]);l(E,e,"add"==e?function(e){return n(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:n(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(y)||!(b||E.forEach&&!d((function(){(new y).entries().next()})))))_=t.getConstructor(n,e,A,m),c.enable();else if(a(e,!0)){var x=new _,k=x[m](b?{}:-0,1)!=x,S=d((function(){x.has(1)})),O=h((function(e){new y(e)})),B=!b&&d((function(){for(var e=new y,n=5;n--;)e[m](n,n);return!e.has(-0)}));O||((_=n((function(e,n){s(e,E);var t=v(new y,e,_);return null!=n&&u(n,t[m],{that:t,AS_ENTRIES:A}),t}))).prototype=E,E.constructor=_),(S||B)&&(w("delete"),w("has"),A&&w("get")),(B||k)&&w(m),b&&E.clear&&delete E.clear}return C[e]=_,r({global:!0,forced:_!=y},C),g(_,e),b||t.setStrong(_,e,A),_}},9920:(e,n,t)=>{var r=t(2597),o=t(3887),i=t(1236),a=t(3070);e.exports=function(e,n){for(var t=o(n),l=a.f,c=i.f,u=0;u{var r=t(5112)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},8544:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:(e,n,t)=>{var r=t(1702),o=t(4488),i=t(1340),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},4994:(e,n,t)=>{"use strict";var r=t(3383).IteratorPrototype,o=t(30),i=t(9114),a=t(8003),l=t(7497),c=function(){return this};e.exports=function(e,n,t){var u=n+" Iterator";return e.prototype=o(r,{next:i(1,t)}),a(e,u,!1,!0),l[u]=c,e}},8880:(e,n,t)=>{var r=t(9781),o=t(3070),i=t(9114);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},9114:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},6135:(e,n,t)=>{"use strict";var r=t(4948),o=t(3070),i=t(9114);e.exports=function(e,n,t){var a=r(n);a in e?o.f(e,a,i(0,t)):e[a]=t}},8709:(e,n,t)=>{"use strict";var r=t(7854),o=t(9670),i=t(2140),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},654:(e,n,t)=>{"use strict";var r=t(2109),o=t(6916),i=t(1913),a=t(6530),l=t(614),c=t(4994),u=t(9518),s=t(7674),f=t(8003),p=t(8880),d=t(1320),h=t(5112),g=t(7497),v=t(3383),A=a.PROPER,b=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",C="values",w="entries",x=function(){return this};e.exports=function(e,n,t,a,h,v,k){c(t,n,a);var S,O,B,I=function(e){if(e===h&&R)return R;if(!y&&e in j)return j[e];switch(e){case _:case C:case w:return function(){return new t(this,e)}}return function(){return new t(this)}},T=n+" Iterator",P=!1,j=e.prototype,z=j[E]||j["@@iterator"]||h&&j[h],R=!y&&z||I(h),M="Array"==n&&j.entries||z;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(i||u(S)===m||(s?s(S,m):l(S[E])||d(S,E,x)),f(S,T,!0,!0),i&&(g[T]=x)),A&&h==C&&z&&z.name!==C&&(!i&&b?p(j,"name",C):(P=!0,R=function(){return o(z,this)})),h)if(O={values:I(C),keys:v?R:I(_),entries:I(w)},k)for(B in O)(y||P||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||P},O);return i&&!k||j[E]===R||d(j,E,R,{name:h}),g[n]=R,O}},7235:(e,n,t)=>{var r=t(857),o=t(2597),i=t(6061),a=t(3070).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},9781:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,n,t)=>{var r=t(7854),o=t(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,n,t)=>{var r=t(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,n,t)=>{var r=t(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},256:(e,n,t)=>{var r=t(8113);e.exports=/MSIE|Trident/.test(r)},5268:(e,n,t)=>{var r=t(4326),o=t(7854);e.exports="process"==r(o.process)},8113:(e,n,t)=>{var r=t(5005);e.exports=r("navigator","userAgent")||""},7392:(e,n,t)=>{var r,o,i=t(7854),a=t(8113),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,n,t)=>{var r=t(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,n,t)=>{var r=t(7854),o=t(1236).f,i=t(8880),a=t(1320),l=t(3505),c=t(9920),u=t(4705);e.exports=function(e,n){var t,s,f,p,d,h=e.target,g=e.global,v=e.stat;if(t=g?r:v?r[h]||l(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],f=e.noTargetGet?(d=o(t,s))&&d.value:t[s],!u(g?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,n,t)=>{"use strict";t(4916);var r=t(1702),o=t(1320),i=t(2261),a=t(7293),l=t(5112),c=t(8880),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!=""[e](n)})),h=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!h||t){var g=r(/./[p]),v=n(p,""[e],(function(e,n,t,o,a){var l=r(e),c=n.exec;return c===i||c===s.exec?d&&!a?{done:!0,value:g(n,t,o)}:{done:!0,value:l(t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},6677:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var n=Function.prototype,t=n.apply,r=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(t):function(){return o.apply(t,arguments)})},9974:(e,n,t)=>{var r=t(1702),o=t(9662),i=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?i(e,n):function(){return e.apply(n,arguments)}}},7065:(e,n,t)=>{"use strict";var r=t(7854),o=t(1702),i=t(9662),a=t(111),l=t(2597),c=t(206),u=r.Function,s=o([].concat),f=o([].join),p={},d=function(e,n,t){if(!l(p,n)){for(var r=[],o=0;o{var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:(e,n,t)=>{var r=t(9781),o=t(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},1702:e=>{var n=Function.prototype,t=n.bind,r=n.call,o=t&&t.bind(r);e.exports=t?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,n,t)=>{var r=t(7854),o=t(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?i(r[e]):r[e]&&r[e][n]}},1246:(e,n,t)=>{var r=t(648),o=t(8173),i=t(7497),a=t(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,n,t)=>{var r=t(7854),o=t(6916),i=t(9662),a=t(9670),l=t(6330),c=t(1246),u=r.TypeError;e.exports=function(e,n){var t=arguments.length<2?c(e):n;if(i(t))return a(o(t,e));throw u(l(e)+" is not iterable")}},8173:(e,n,t)=>{var r=t(9662);e.exports=function(e,n){var t=e[n];return null==t?void 0:r(t)}},647:(e,n,t)=>{var r=t(1702),o=t(7908),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,h=r.length,g=s;return void 0!==f&&(f=o(f),g=u),l(p,g,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},7854:(e,n,t)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:(e,n,t)=>{var r=t(1702),o=t(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},3501:e=>{e.exports={}},490:(e,n,t)=>{var r=t(5005);e.exports=r("document","documentElement")},4664:(e,n,t)=>{var r=t(9781),o=t(7293),i=t(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,n,t)=>{var r=t(7854),o=t(1702),i=t(7293),a=t(4326),l=r.Object,c=o("".split);e.exports=i((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):l(e)}:l},9587:(e,n,t)=>{var r=t(614),o=t(111),i=t(7674);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},2788:(e,n,t)=>{var r=t(1702),o=t(614),i=t(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2423:(e,n,t)=>{var r=t(2109),o=t(1702),i=t(3501),a=t(111),l=t(2597),c=t(3070).f,u=t(8006),s=t(1156),f=t(2050),p=t(9711),d=t(6677),h=!1,g=p("meta"),v=0,A=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,n=o([].splice),t={};t[g]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{var r,o,i,a=t(8536),l=t(7854),c=t(1702),u=t(111),s=t(8880),f=t(2597),p=t(5465),d=t(6200),h=t(3501),g="Object already initialized",v=l.TypeError,A=l.WeakMap;if(a||p.state){var b=p.state||(p.state=new A),m=c(b.get),y=c(b.has),E=c(b.set);r=function(e,n){if(y(b,e))throw new v(g);return n.facade=e,E(b,e,n),n},o=function(e){return m(b,e)||{}},i=function(e){return y(b,e)}}else{var _=d("state");h[_]=!0,r=function(e,n){if(f(e,_))throw new v(g);return n.facade=e,s(e,_,n),n},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=o(n)).type!==e)throw v("Incompatible receiver, "+e+" required");return t}}}},7659:(e,n,t)=>{var r=t(5112),o=t(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,n,t)=>{var r=t(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,n,t)=>{var r=t(1702),o=t(7293),i=t(614),a=t(648),l=t(5005),c=t(2788),u=function(){},s=[],f=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,s,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(p,c(e))}:g},4705:(e,n,t)=>{var r=t(7293),o=t(614),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t==s||t!=u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},111:(e,n,t)=>{var r=t(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,n,t)=>{var r=t(111),o=t(4326),i=t(5112)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},2190:(e,n,t)=>{var r=t(7854),o=t(5005),i=t(614),a=t(7976),l=t(3307),c=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var n=o("Symbol");return i(n)&&a(n.prototype,c(e))}},408:(e,n,t)=>{var r=t(7854),o=t(9974),i=t(6916),a=t(9670),l=t(6330),c=t(7659),u=t(6244),s=t(7976),f=t(8554),p=t(1246),d=t(9212),h=r.TypeError,g=function(e,n){this.stopped=e,this.result=n},v=g.prototype;e.exports=function(e,n,t){var r,A,b,m,y,E,_,C=t&&t.that,w=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),S=o(n,C),O=function(e){return r&&d(r,"normal",e),new g(!0,e)},B=function(e){return w?(a(e),k?S(e[0],e[1],O):S(e[0],e[1])):k?S(e,O):S(e)};if(x)r=e;else{if(!(A=p(e)))throw h(l(e)+" is not iterable");if(c(A)){for(b=0,m=u(e);m>b;b++)if((y=B(e[b]))&&s(v,y))return y;return new g(!1)}r=f(e,A)}for(E=r.next;!(_=i(E,r)).done;){try{y=B(_.value)}catch(e){d(r,"throw",e)}if("object"==typeof y&&y&&s(v,y))return y}return new g(!1)}},9212:(e,n,t)=>{var r=t(6916),o=t(9670),i=t(8173);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3383:(e,n,t)=>{"use strict";var r,o,i,a=t(7293),l=t(614),c=t(30),u=t(9518),s=t(1320),f=t(5112),p=t(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=c(r)),l(r[d])||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,n,t)=>{var r=t(7466);e.exports=function(e){return r(e.length)}},133:(e,n,t)=>{var r=t(7392),o=t(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,n,t)=>{var r=t(7854),o=t(614),i=t(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,n,t)=>{var r=t(7854),o=t(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:(e,n,t)=>{"use strict";var r=t(9781),o=t(1702),i=t(6916),a=t(7293),l=t(1956),c=t(5181),u=t(5296),s=t(7908),f=t(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!=p({},e)[t]||l(p({},n)).join("")!=o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,v=f(arguments[a++]),A=p?h(l(v),p(v)):l(v),b=A.length,m=0;b>m;)g=A[m++],r&&!i(d,v,g)||(t[g]=v[g]);return t}:p},30:(e,n,t)=>{var r,o=t(9670),i=t(6048),a=t(748),l=t(3501),c=t(490),u=t(317),s=t(6200),f=s("IE_PROTO"),p=function(){},d=function(e){return"