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

Asked by Andrew McLeod

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.

Thanks!

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Boddy (stephen-j-boddy) said :
#1

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.