Handled special case when window size equals zero. (#349)
Handled special case when window size equals zero. (#349)

Signed-off-by: xchenan <c3b92677b843d8e4c55c521a197218b3cb458796@gmail.com>
elves/elvish,elves/elvish,elves/elvish,elves/elvish,elves/elvish