]> git.proxmox.com Git - mirror_frr.git/commit
vtysh: disable bracketed paste in readline
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:07 +0000 (22:51 -0500)
commitdab6893f15cdb597d43ec86906657b88dbf8da16
tree7f485b7b8ec261eec5c1a9f088539d2d1dbada72
parent658186e8b6ad84bd92fa46201901cf75bf3174c2
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