martanne / dvtm

dvtm brings the concept of tiling window management, popularized by X11-window managers like dwm to the console. As a console window manager it tries to make it easy to work with multiple console based programs.
MIT License
843 stars 108 forks source link

copymode: Place cursor at end of buffer content #97

Open 7v0lk0v opened 4 years ago

7v0lk0v commented 4 years ago

More convenient as that's where the most recent command and output is. Additionally the original code placed the cursor one line off (base 0, but vis expects base 1).

7v0lk0v commented 4 years ago

Additionally the original code placed the cursor one line off (base 0, but vis expects base 1).

The original behavior turns out to be a nice feature, placing the cursor at the last line of the last command's output - instead of on the same line as the current prompt, which is hardly ever where you want to start copying from.

Hence the small update.