Properly toggle bracketed paste mode on stop/cont

Fixes #449
This commit is contained in:
ailin-nemui 2016-03-22 16:05:14 +01:00
commit 35d255fc8c
4 changed files with 27 additions and 9 deletions

View file

@ -710,11 +710,3 @@ void term_gets(GArray *buffer, int *line_count)
}
}
}
void term_set_bracketed_paste_mode(int enable)
{
if (enable)
tputs("\e[?2004h", 0, term_putchar);
else
tputs("\e[?2004l", 0, term_putchar);
}