method

point

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - 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.

Show source
Register or log in to add new notes.