How to clear all output in Vte.Terminal ?
It would only clear the text visible in the terminal, but, you can run the cls command or tinker with the feed() method and empty spaces.
cls
feed()
I have been having some problems of my own with Vte so I don't know if I'm the right person to answer.
Have you tried replacing the old terminal with another in the container? It's not clearing, but there will be an empty terminal.
vte.feed('\033[2J')
For other escape sequences:
I'm using
vte.fork_command("clear")
use the os library
import os os.system('clear')
Copyright © 2021 Jogjafile Inc.
It would only clear the text visible in the terminal, but, you can run the
clscommand or tinker with thefeed()method and empty spaces.