deadpixi / sam

An updated version of the sam text editor.
Other
430 stars 46 forks source link

center on last line of cmd window #81

Closed andygoblins closed 6 years ago

andygoblins commented 6 years ago

This fixes a bug in the jump command. Before this fix, when jumping, the command layer would center on the same line number you were working on in the previous layer. In other words, if you were on line 10 of a buffer when you jumped, the cmd layer would scroll to line 10 as well.

This fix makes the cmd layer center on the last line, where you can type a new command.

deadpixi commented 6 years ago

Thanks!