< index < 2. Console < 2.3 Handling keyboard input | ===================================== 2.3.3 Changing keyboard repeat delay ===================================== |

    C++ : static void TCODConsole::setKeyboardRepeat(int initialDelay,int interval)
    C   : void TCOD_console_set_keyboard_repeat(int initial_delay, int interval)
    Py  : console_set_keyboard_repeat(initial_delay, interval)

This function changes the keyboard repeat times.

Parameter | Description
--- | ---
initialDelay | Delay in millisecond between the time when a key is pressed, and keyboard repeat begins. If 0, keyboard repeat is disabled.
interval | Interval in millisecond between keyboard repeat events.

You can also disable the keyboard repeat feature with this function (it's equivalent to setKeyboardRepeat(0,0) ).

    C++ : static void TCODConsole::disableKeyboardRepeat()
    C   : void TCOD_console_disable_keyboard_repeat()
    Py  : console_disable_keyboard_repeat()