fixed bug where hitting enter before typing a first line added an extra line to the gutter