Dnia środa 17 styczeń 2007, Matthew Woehlke napisał:
> Matthew Woehlke wrote:
> > Mikolaj Machowski wrote:
> >> Is it possible to recognize if window or tab of Konsole lost focus
> >> through termcap/terminfo sequence?
> >>
> >> Or is it at least possible with dcop or any other way?
> >>
> >> I am investigating ways to support Vim FocusGain/FocusLost
> >> autoevents.
> >
> > [snip long answer]
> > [...and short answer, too]
>
> Robert Knight says we should be able to add escape sequences to Konsole
> to support this. I might be able to help with the patching (although it
> is KDE4 that will really get the fix, anything for KDE3 does not seem
> likely to be accepted, so you would be patching your own local version),

I was waiting 2 years for Lists in VimL so I can wait several months for
KDE 4 ;)

> but someone Vim-side needs to tell us what Konsole needs to provide...

Looks like it should be similar communication like with mouse events.
Proper escape codes - I suppose there is no standard at the moment. If
Konsole would be first to do it there is chance that will become
standard.

> Does Vim already support notifications for some terminal emulators? If
> so, how do we go about adding Konsole to that list?

Comment in :ui.c:3010: says:

/*
 * Called when focus changed.  Used for the GUI or for systems where this 
can
 * be done in the console (Win32).
 */


m.

Reply via email to