method
point
ruby latest stable - Class:
Readline
point()public
Returns the index of the current cursor position in Readline.line_buffer.
The index in Readline.line_buffer which matches the start of input-string passed to completion_proc is computed by subtracting the length of input-string from Readline.point.
start = (the length of input-string) - Readline.point
Raises NotImplementedError if the using readline library does not support.