cock.getEmptyOption

Finds next (in arbitrary order) unused input option in current layout.

Synopsis

Function

option = cock.getEmptyOption ( self, map )

Arguments

table self
An object to use.
string map
A control mapping to find unused options for.

Returns

string option
Found unused option (nil on failure).

See also