display: remove separator on horizontal split
commit5bebd0bc7638bf8373598b87404d1cc13cf8f5e5
authorSven Wegener <sven.wegener@stealer.net>
Thu, 16 Jul 2015 09:52:50 +0000 (16 11:52 +0200)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sun, 30 Aug 2015 08:57:12 +0000 (30 10:57 +0200)
treeee48c7ff99b29c70eb24613b096d55abebe2dce9
parent0e6cbc428c16968abccb6cb298f95ddcf3969bc6
display: remove separator on horizontal split

when switching from vertical split to horizontal split we need to remove
the vertical separator. this fixes a bug introduced in 39acb5a.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Add test for toggling of vertical-split. It doesn't fail before this fix
is applied since the visual artifacts of the bug are probably caused by
ncurses lazy screen refreshing.

Tested-by: Vivien Didelot <vivien.didelot@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
src/display.c
test/regressions/github-434-test [new file with mode: 0755]