06321bd308dad1dc08ad86a59df9b2172b50faa1
The use case for this functionality is to be able to e.g. display the terminal application's output after it was terminated. This requires exposing a `clearScreen` method to QML as the history only contains the lines not currently displayed in the widget. If we want to access the whole output we have to be able to flush the screen beforehand. The single argument overload of `Emulation::writeToStream` simplifies reading the complete history at once without having to further expose it's length.
#QMLTermWidget
##Description This project is a QML port of qtermwidget. It is written to be as close as possible to the upstream project in order to make cooperation possible.
At the moment this plugin is powering cool-retro-term and the ubuntu-terminal-app.
This package also contains a simple test application.
To build it:
qmake && make
To test it:
qmlscene -I . test-app/test-app.qml
Description
Languages
C++
97.4%
C
1.6%
QMake
0.5%
QML
0.3%
CMake
0.2%