Table of Contents

Method PrepareToRun

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

PrepareToRun(MainLoop, Action<KeyEvent>, Action<KeyEvent>, Action<KeyEvent>, Action<MouseEvent>)

Prepare the driver and set the key and mouse events handlers.

public abstract void PrepareToRun(MainLoop mainLoop, Action<KeyEvent> keyHandler, Action<KeyEvent> keyDownHandler, Action<KeyEvent> keyUpHandler, Action<MouseEvent> mouseHandler)

Parameters

mainLoop MainLoop

The main loop.

keyHandler Action<KeyEvent>

The handler for ProcessKey

keyDownHandler Action<KeyEvent>

The handler for key down events

keyUpHandler Action<KeyEvent>

The handler for key up events

mouseHandler Action<MouseEvent>

The handler for mouse events