mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Enable the bracketed paste mode on demand
This commit is contained in:
parent
15dad291c7
commit
4764b102ff
3 changed files with 13 additions and 0 deletions
|
|
@ -689,3 +689,11 @@ 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue