Refactor code to open_external_viewer
authorJonas Fonseca <fonseca@diku.dk>
Fri, 28 Sep 2007 15:59:47 +0000 (17:59 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Fri, 28 Sep 2007 15:59:54 +0000 (17:59 +0200)
commitd24ef76cf48b2f63c7cf173200f4cf522c119ec9
treefb759579eea3117d06db5b4e352f82ef7f15f8f3
parentc38c64bb6e5e9c1f173e24c964b06497e24108d9
Refactor code to open_external_viewer

This way there is only one place calling system. In addition, files
opened in an editor will now wait for the user to press Enter to
continue. Whether this is good or bad can be discussed but it feels more
consistent and could help the user spot any errors printed by the
editor.
tig.c