Skip to content

Commit

Permalink
Removed debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ardagnir committed Mar 22, 2014
1 parent 343456c commit 9cc7248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pterosaur.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ io.system("mkfifo /tmp/pterosaur_fifo");
io.system("$(while killall -0 firefox; do sleep 1; done) | cat > /tmp/pterosaur_fifo &");

//TODO: Also an ugly hack
io.system('sh -c \'while [ "$(vim --servername pterosaur --remote-expr 1)" != 1 ] && killall -0 firefox; do vim --servername pterosaur -f +"set autoread" +"set noswapfile" +"set shortmess+=A" </tmp/pterosaur_fifo > /dev/pts/1; done\' &');
io.system('sh -c \'while [ "$(vim --servername pterosaur --remote-expr 1)" != 1 ] && killall -0 firefox; do vim --servername pterosaur -f +"set autoread" +"set noswapfile" +"set shortmess+=A" </tmp/pterosaur_fifo > /dev/null; done\' &');

//If this doesn't match options["fullvim"] we need to perform cleanup
var pterosaurCleanupCheck = false;
Expand Down

0 comments on commit 9cc7248

Please sign in to comment.