vamolessa / pepper

simple and opinionated modal code editor for your terminal
https://vamolessa.github.io/pepper/
372 stars 17 forks source link

track the presence of an empty line before EOF #71

Closed praschke closed 1 year ago

praschke commented 1 year ago

potentially a fix for #70. i think this provides a consistent user interface for buffers that end in newlines, buffers that end in non-newlines, and empty buffers being given a line to start with.

vamolessa commented 1 year ago

oh this looks good! thanks for the PR! will merge