Ramel Eshed wrote:

> On Sunday, April 17, 2016 at 11:33:50 AM UTC+3, Bram Moolenaar wrote:
> > Ramel Eshed wrote:
> > 
> > > 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.
> > 
> > So we need to skip the display update if the screen is scrolled.
> > And put the cursor in the command line.
> > 
> > > - 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.
> > 
> > What do you mean with "cursor toggling issue"?
>
> It looks like the cursor is in some sort of superposition –In my example
> there are 2 windows; The upper window is the one I'm working in and the
> bottom window is being updated with the job’s output constantly. The cursor
> keeps jumping between the two windows so it’s hard to keep working like that.
> When running Vim inside a terminal this isn’t very noticeable, so it almost
> looks like the cursor stays in the upper buffer, which I think should be the
> correct behavior. Now, the feeling is not so "asynchronous", because the
> job's buffer updates interfere with the normal work in the other window.

Can you check if patch 7.4.1750 fixed this problem as well?

-- 
You got to work at a mill?  Lucky!  I got sent back to work in the
acid-mines for my daily crust of stale bread... which not even the
birds would eat.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui