"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "text.c" between
readline-7.0-rc1.tar.gz and readline-7.0-rc2.tar.gz

About: GNU Readline library - get a line from a user with editing. Release candidate.

text.c  (readline-7.0-rc1):text.c  (readline-7.0-rc2)
skipping to change at line 575 skipping to change at line 575
{ {
int curr_line; int curr_line;
curr_line = _rl_current_display_line (); curr_line = _rl_current_display_line ();
_rl_move_vert (curr_line); _rl_move_vert (curr_line);
_rl_move_cursor_relative (0, rl_line_buffer); /* XXX is this right */ _rl_move_cursor_relative (0, rl_line_buffer); /* XXX is this right */
_rl_clear_to_eol (0); /* arg of 0 means to not use spaces */ _rl_clear_to_eol (0); /* arg of 0 means to not use spaces */
rl_forced_update_display (); rl_redraw_prompt_last_line ();
rl_display_fixed = 1; rl_display_fixed = 1;
return 0; return 0;
} }
/* C-l typed to a line without quoting clears the screen, and then reprints /* C-l typed to a line without quoting clears the screen, and then reprints
the prompt and the current input line. Given a numeric arg, redraw only the prompt and the current input line. Given a numeric arg, redraw only
the current line. */ the current line. */
int int
rl_clear_screen (count, key) rl_clear_screen (count, key)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS