diff --git a/pretty/index.html b/pretty/index.html index a2efb41..c1510ee 100644 --- a/pretty/index.html +++ b/pretty/index.html @@ -1,6 +1,6 @@ -io.aviso/pretty 1.4.2

io.aviso/pretty 1.4.2

Clojure library to help print things, prettily.

Namespaces

io.aviso.ansi

Help with generating textual output that includes ANSI escape codes for formatting. The compose function is the best starting point.

+io.aviso/pretty 1.4.3

io.aviso/pretty 1.4.3

Clojure library to help print things, prettily.

Namespaces

io.aviso.ansi

Help with generating textual output that includes ANSI escape codes for formatting. The compose function is the best starting point.

Public variables and functions:

io.aviso.binary

Utilities for formatting binary data (byte arrays) or binary deltas.

io.aviso.clipboard

Utilities for accessing text on the system clipboard using AWT.

Public variables and functions:

io.aviso.columns

Assistance for formatting data into columns. Each column has a width, and data within the column may be left or right justified. Generally, columns are sized to the largest item in the column. When a value is provided in a column, it may be associated with an explicit width which is helpful when the value contains non-printing characters (such as those defined in the io.aviso.ansi namespace).

diff --git a/pretty/io.aviso.ansi.html b/pretty/io.aviso.ansi.html index fea92a4..17a9399 100644 --- a/pretty/io.aviso.ansi.html +++ b/pretty/io.aviso.ansi.html @@ -1,6 +1,6 @@ -io.aviso.ansi documentation

io.aviso.ansi

Help with generating textual output that includes ANSI escape codes for formatting. The compose function is the best starting point.

+io.aviso.ansi documentation

io.aviso.ansi

Help with generating textual output that includes ANSI escape codes for formatting. The compose function is the best starting point.

Reference: Wikipedia.

In version 1.4, the incorrectly named bold-<color> functions and constants were deprecated in favor of the bright-<color> equivalents (correcting a day 1 naming mistake).

ansi-output-enabled?

added in 1.3

Determine if ANSI output is enabled.

@@ -105,7 +105,7 @@

Font defs apply on top of the font def of the enclosing block, and the outer block’s font def is restored at the end of the inner block, e.g. [:red " RED " [:bold "RED/BOLD"] " RED "].

compose presumes that on entry the current font is plain (default foreground and background, not bold, or inverse, or italic) and appends a reset-font to the end of the returned string to ensure that later output is also plain.

-

csi

The control sequence initiator: ESC [

+

csi

The control sequence initiator: ESC [

cyan

(cyan text)

Wraps the provided text with ANSI codes to render text in cyan.

cyan-bg

(cyan-bg text)

Wraps the provided text with ANSI codes to render with a cyan background.

cyan-bg-font

Constant for ANSI code to render with a cyan background.

diff --git a/pretty/io.aviso.binary.html b/pretty/io.aviso.binary.html index 12e1d12..3278a64 100644 --- a/pretty/io.aviso.binary.html +++ b/pretty/io.aviso.binary.html @@ -1,6 +1,6 @@ -io.aviso.binary documentation

io.aviso.binary

Utilities for formatting binary data (byte arrays) or binary deltas.

+io.aviso.binary documentation

io.aviso.binary

Utilities for formatting binary data (byte arrays) or binary deltas.

BinaryData

protocol

Allows various data sources to be treated as a byte-array data type that supports a length and random access to individual bytes.

BinaryData is extended onto byte arrays, java.nio.ByteBuffer, java.lang.String, java.lang.StringBuilder, and onto nil.

members

byte-at

(byte-at this index)

The byte value at a specific offset.

diff --git a/pretty/io.aviso.clipboard.html b/pretty/io.aviso.clipboard.html index 136c9c6..66d248d 100644 --- a/pretty/io.aviso.clipboard.html +++ b/pretty/io.aviso.clipboard.html @@ -1,6 +1,6 @@ -io.aviso.clipboard documentation

io.aviso.clipboard

added in 0.1.33

Utilities for accessing text on the system clipboard using AWT.

+io.aviso.clipboard documentation

io.aviso.clipboard

added in 0.1.33

Utilities for accessing text on the system clipboard using AWT.

This is segregated from other code to prevent the AWT stack from initializing unnecessarily. On OS X, this initialization is seen as a Java application icon appearing in the Dock.

copy

(copy)

Copies the current contents of the Clipboard, returning its contents as a string.

paste

(paste s)

Pastes a string in as the new content of the Clipboard.

diff --git a/pretty/io.aviso.columns.html b/pretty/io.aviso.columns.html index 4c78290..c153c62 100644 --- a/pretty/io.aviso.columns.html +++ b/pretty/io.aviso.columns.html @@ -1,6 +1,6 @@ -io.aviso.columns documentation

io.aviso.columns

Assistance for formatting data into columns. Each column has a width, and data within the column may be left or right justified. Generally, columns are sized to the largest item in the column. When a value is provided in a column, it may be associated with an explicit width which is helpful when the value contains non-printing characters (such as those defined in the io.aviso.ansi namespace).

+io.aviso.columns documentation

io.aviso.columns

Assistance for formatting data into columns. Each column has a width, and data within the column may be left or right justified. Generally, columns are sized to the largest item in the column. When a value is provided in a column, it may be associated with an explicit width which is helpful when the value contains non-printing characters (such as those defined in the io.aviso.ansi namespace).

format-columns

(format-columns & column-defs)

Converts a number of column definitions into a formatting function. Each column definition may be: