Table of Contents

Method ReplaceCommands

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ReplaceCommands(Key, params Command[])

Replaces the commands already bound to a key.

public void ReplaceCommands(Key key, params Command[] commands)

Parameters

key Key

The key bound to the command to be replaced.

commands Command[]

The set of commands to replace the old ones with.

Remarks

If the key is not already bound, it will be added.