method
point
v1_9_2_180 -
Show 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