Function pancurses::half_delay

source ·
pub fn half_delay(tenths: i32) -> i32
Expand description

Similar to cbreak(), but allows for a time limit to be specified, in tenths of a second.

This causes getch() to block for that period before returning None if no key has been received. tenths must be between 1 and 255.