Preserve the cursor position when changing the diff context
commit1d6b7df7205652c424661833d41ec4aeb8341ea0
authorJonas Fonseca <jonas.fonseca@gmail.com>
Wed, 7 May 2014 01:02:57 +0000 (6 21:02 -0400)
committerJonas Fonseca <jonas.fonseca@gmail.com>
Sat, 30 Aug 2014 17:41:00 +0000 (30 13:41 -0400)
tree85f534b529b1f4b751de8972eff679456f4d9627
parent3fc45bf12ec5a5752c253a24528aaaf5c39d94ee
Preserve the cursor position when changing the diff context

Fixes #284
include/tig/diff.h
src/diff.c
src/stage.c
test/diff/diff-context-test [new file with mode: 0755]