FACT++  1.0
void ReadlineWindow::Startup ( )
protectedvirtual

Color index in which the prompt should be displayed.

Store the current cursor position in fPromptX/Y.

Callback function for readlines rl_getc_function. Apart from redirecting the input from the window to the readline libarary, it also checks if the input forced scrolling of the window contents and in this case adapt fPromptY.

Returns
the character read by wgetch

Reimplemented from Readline.

Definition at line 137 of file ReadlineWindow.cc.

References fPromptX, fPromptY, and fWindow.

138 {
139  getyx(fWindow, fPromptY, fPromptX);
140 }
WINDOW * fWindow
int fPromptY
When the readline call is issued the x position at which the output will start is stored here...
int fPromptX
Pointer to the panel for the input stream.