mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 18:38:52 +00:00
Merge pull request #9046
5435202
readline_buffer: disable bracketed paste escape sequences (Jeffrey Ryan)
This commit is contained in:
commit
79107ff68f
@ -238,6 +238,10 @@ static char** attempted_completion(const char* text, int start, int end)
|
|||||||
|
|
||||||
static void install_line_handler()
|
static void install_line_handler()
|
||||||
{
|
{
|
||||||
|
#if RL_READLINE_VERSION >= 0x0801
|
||||||
|
rl_variable_bind("enable-bracketed-paste", "off");
|
||||||
|
#endif
|
||||||
|
|
||||||
rl_attempted_completion_function = attempted_completion;
|
rl_attempted_completion_function = attempted_completion;
|
||||||
rl_callback_handler_install("", handle_line);
|
rl_callback_handler_install("", handle_line);
|
||||||
stifle_history(500);
|
stifle_history(500);
|
||||||
|
Loading…
Reference in New Issue
Block a user