From a1f982e56162dc04facd6993116a5165b1f0d031 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Tue, 11 Oct 2016 11:15:34 +0200 Subject: [PATCH] Allow to print page via :hardcopy command. --- src/ex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ex.c b/src/ex.c index 98570d1..d1d38c5 100644 --- a/src/ex.c +++ b/src/ex.c @@ -797,7 +797,7 @@ static void ex_eval_javascript_finished(GObject *object, static VbCmdResult ex_hardcopy(Client *c, const ExArg *arg) { - /* TODO no implemented yet */ + webkit_web_view_run_javascript(c->webview, "window.print();", NULL, NULL, NULL); return CMD_SUCCESS; } -- 2.20.1