yi-0.7.1: The Haskell-Scriptable Editor

Safe HaskellNone

Yi.Mode.Interactive

Synopsis

Documentation

ghciHome :: BufferM ()Source

The GHCi prompt always begins with >; this goes to just before it, or if one is already at the start of the prompt, goes to the beginning of the line. (If at the beginning of the line, this pushes you forward to it.)

interactive :: String -> [String] -> YiM BufferRefSource

Open a new buffer for interaction with a process.

feedCommand :: YiM ()Source

Send the type command to the process

queryReply :: BufferRef -> String -> YiM StringSource

Send command, recieve reply