projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd69464
)
Allow to print page via :hardcopy command.
author
Daniel Carl
<danielcarl@gmx.de>
Tue, 11 Oct 2016 09:15:34 +0000
(11:15 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Tue, 11 Oct 2016 10:27:05 +0000
(12:27 +0200)
src/ex.c
patch
|
blob
|
history
diff --git
a/src/ex.c
b/src/ex.c
index
98570d1
..
d1d38c5
100644
(file)
--- 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;
}