From 35d24babfc72cc0158c2291b89e55a54b54082f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 8 Sep 2014 12:04:30 +0200 Subject: Fix insertion of newlines --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 4eb0d2b..00c1bd7 100644 --- a/config.def.h +++ b/config.def.h @@ -118,7 +118,7 @@ static size_t column(const Arg *arg) { } static void insert(const Arg *arg) { - vis_insert(vis, window_cursor_get(vis->win->win), arg->s, arg->s ? strlen(arg->s) : 0); + vis_insert_key(vis, arg->s, arg->s ? strlen(arg->s) : 0); } static void insert_tab(const Arg *arg) { -- cgit v1.2.3