Hi Bram,
When using “out_io”: “buffer” in the job options there are some issues with the
screen rendering. The first one is when I try to edit the command line while
the job’s buffer is being updated; As long as there is room in the job’s window
the only problem is that I don’t see the cursor in the command-line. When Vim
starts scrolling the job’s window the entire content of the command-line
disappears with every screen update.
- Another issue which is easier to notice on GVim is the toggling of the cursor
between the job’s buffer and the current buffer. I’m not familiar with the
implementation, but I guess that in order to update the job’s buffer Vim needs
to actually move to that buffer. I remember a discussion about adding a proper
setbufline() function. I think that it might be very useful, especially now
when combined with the new async features.
To reproduce:
Save the attached file in your home directory.
vim –u NONE -N
:new
:let job = job_start(['/bin/tcsh', '-c', '~/async_test.csh'], {'out_io':
'buffer', 'out_buf':1})
Now try to type in the command line.
Do the same with GVim to see the cursor toggling issue.
I'm using Vim 7.4.1747 on RHEL 5.5.
Thanks,
Ramel
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
#!/bin/tcsh
foreach x (`seq 1 500`)
echo $x
sleep 0.2s
end