gui: Simplify display command execution.
authorAndre Noll <maan@systemlinux.org>
Fri, 3 Jan 2014 20:58:24 +0000 (20:58 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 May 2014 12:04:04 +0000 (14:04 +0200)
commite8ca7526ddebc98f3023736f77fa13b65034767b
tree598642b36f519ccdc1509e1f9f0c941c4b6957d9
parentc103b1631056eea2e63adfc8261c316c8a16928b
gui: Simplify display command execution.

para_cmd() and display_cmd() are almost identical. Move the
command part into send_output() and rename this function to
exec_and_display_cmd().
gui.c