]> git.puffer.fish Git - mirror/frr.git/commit
vtysh: disable bracketed paste in readline 8034/head
authorQuentin Young <qlyoung@qlyoung.net>
Mon, 8 Feb 2021 01:15:24 +0000 (20:15 -0500)
committerQuentin Young <qlyoung@qlyoung.net>
Mon, 8 Feb 2021 03:51:47 +0000 (22:51 -0500)
commitc46c87d19758040bc3f3902ab8e4a0f1bb908721
tree5c19f42a4c4fe7a02da30b1911366d2a452a0589
parent20b35e4c3386de798f3b0cb9f2a7e6b04d995485
vtysh: disable bracketed paste in readline

GNU Readline 8.1 enables bracketed paste by default. This results in
newlines not ending the readline() call, which breaks the ability of
users to paste in configs to vtysh's interactive shell.

Disable bracketed paste.

Signed-off-by: Quentin Young <qlyoung@qlyoung.net>
vtysh/vtysh.c