[Overview][Constants][Types][Procedures and functions][Index] |
Deactivate keyboard driver.
Source position: keybrdh.inc line 140
procedure DoneKeyboard; |
DoneKeyboard de-initializes the keyboard interface if the keyboard driver is active. If the keyboard driver is not active, the function does nothing.
This will cause the keyboard driver to clear up any allocated memory, or restores the console or terminal the program was running in to its initial state before the call to InitKeyBoard. This function should be called on program exit. Failing to do so may leave the terminal or console window in an unusable state. Its exact action depends on the platform on which the program is running.
On Unix the default keyboard driver restores the line ending of system.output to #10.
For an example, see most other functions.
None.
|
Initialize the keyboard driver. |
lazarus-ccr.sourceforge.net |