Possibility to ignore certain areas of the terminal for contents-changed signal

Asked by Andrew McLeod on 2017-03-20

Is it possible to ignore the vteTerminal contents-changed signal for certain areas of the terminal, or filter the output?

E.g., ActivityWatch is not very useful if running in byobu, irssi, anything with a status bar which updates itself, but if I could say 'ignore last 2 lines of terminal' that help.


Question information

English Edit question
Terminator Edit question
No assignee Edit question
Last query:
Last reply:

As far as I'm aware the contents-changed signal contains no detail of what changed, only that a change occurred.

In theory **maybe** the buffer could be grabbed, and then somehow compared, but that would be super hacky even in the normal case. byobu is using screen to give it's status bar. irssi uses alternative screen mode as far as I can tell/understand. I think this is something that would be non-trivial to do.

Can you help with this problem?

Provide an answer of your own, or ask Andrew McLeod for more information if necessary.

To post a message you must log in.