Skip to content
Dustin Paluch edited this page Nov 19, 2015 · 5 revisions

Lui, the Linewise User Interface

Lui is a generalized user interface for programs that want to look like common chat clients. Lui provides a number of generalized features, including input with a prompt, output with filling, highlighting and buttonization for URLs and other common things, time stamps, flyspell integration, toggleable ignore, and a number of plugins that work in all lui-based modes.

Programmer Usage

To implement a lui mode, just define a mode the derives of lui-mode. The important interface functions for you are:

  • lui-mode
  • lui-set-prompt
  • lui-insert
  • lui-input-function
  • And the lui-fool text property for output you want hideable by the user.