Set COLUMNS env variable after vertical split calculation
commit25b507937fd66ea14fb2cd67d3904df538f40e69
authorJonas Fonseca <jonas.fonseca@gmail.com>
Fri, 14 Mar 2014 05:00:06 +0000 (14 01:00 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Fri, 14 Mar 2014 05:00:06 +0000 (14 01:00 -0400)
treef7ec6413a1f54a222e619c5c255d32c5f2f4878b
parent28e1f037c173d32f9f7e343d8ed66e02edb866e9
Set COLUMNS env variable after vertical split calculation

This fixes diffstats to be no larger that then width of the view even
when splitting the display vertically.
src/display.c