Liking cljdoc? Tell your friends :D

minitui

Clojars Project

Create terminal user interfaces in jank.

Requirements

  • cmake
  • a C++ compiler

Installation

Add the following dependency to your Leiningen project file:

[io.github.kylc/minitui "0.1.0"]

Usage

See the examples.

(ns tiny
  (:require [minitui.dom :as d]
            [minitui.screen :as s]))

(let [screen (s/create (s/fixed 50) (s/fixed 5))]
  (->>
   (d/center
    (d/border
     (d/vbox (d/text "Hello world!")
             (d/text (clojure-version)))))
   (s/render screen))
  (s/print screen))

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close