This function runs the form passed to it.
Form component
Array, used for returning information after running the form component. Keys and values are described in the following table:
Table 1. Form Exit Structure
| Index Key | Value Type | Description | 
|---|---|---|
| reason | integer | The reason, why the form has been exited. Possible values are defined here. | 
| watch | resource | Resource link, specified in newt_form_watch_fd() | 
| key | integer | Hotkey | 
| component | resource | Component, which caused the form to exit |