We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9110021 commit 9a5da2dCopy full SHA for 9a5da2d
ext/readline/readline.c
@@ -2088,6 +2088,7 @@ Init_readline(void)
2088
#if defined HAVE_CLEAR_HISTORY || defined HAVE_REMOVE_HISTORY
2089
if (strncmp(rl_library_version, EDIT_LINE_LIBRARY_VERSION,
2090
strlen(EDIT_LINE_LIBRARY_VERSION)) == 0) {
2091
+ prepare_readline();
2092
add_history("1");
2093
if (history_get(history_get_offset_func(0)) == NULL) {
2094
history_get_offset_func = history_get_offset_0;
0 commit comments