Skip to content
Jorgen Schaefer edited this page Oct 25, 2012 · 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 moe 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.
Clone this wiki locally