One9398 / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

xdg-open breaks rendered text on a terminal #386

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make some file:/// or http:// link
2. press enter upon the link

What is the expected output? What do you see instead?

Text on a terminal disappears (see attached image). Ctrl-L restores terminal 
though.

What version of the product are you using? On what operating system?

I use mate-terminal (old Gnome 2's gnome-terminal), Fedora 17, latest vim rpm, 
vimwiki-2.0.1.vba

Please provide any additional information below.

It looks like an issue of command 'silent !xdg-open ...'. When i remove 
'silent' the issue goes away. Surprisingly command

call system('xdg-open ' . shellescape(a:url) . ' &')

also fixes the issue, the riv plugin uses xdg-open this way and it seems to be 
the best way to fix this.

Cheers, Alexey.

Original issue reported on code.google.com by Alexey.R...@gmail.com on 19 Nov 2012 at 11:29

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by habamax on 22 Nov 2012 at 2:43