Sets the curses ESCDELAY setting.
ms
length of the delay in milliseconds.
Sets the number of milliseconds to wait after reading an escape
character, to distinguish between an individual escape character entered
on the keyboard from escape sequences sent by cursor and function keys.