diff options
-rw-r--r-- | qml/EmbeddedTerminal.qml | 7 | ||||
-rw-r--r-- | qml/TerminalItem.qml | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/qml/EmbeddedTerminal.qml b/qml/EmbeddedTerminal.qml index 81814bb..4e13131 100644 --- a/qml/EmbeddedTerminal.qml +++ b/qml/EmbeddedTerminal.qml @@ -27,8 +27,9 @@ Item { height: terminal.height width: parent.width - settings.frameWidth - function select() { highlighter.select() } - function deselect() { highlighter.deselect() } + function select() { highlighter.select() } + function deselect() { highlighter.deselect() } + function displayOverlay() { overlay.displayBriefly() } RowLayout { id: container @@ -116,7 +117,7 @@ Item { property: "opacity" easing.type: Easing.InSine - duration: 500 + duration: 300 from: 0.8 to: 0 } diff --git a/qml/TerminalItem.qml b/qml/TerminalItem.qml index 22d4a5e..daa438e 100644 --- a/qml/TerminalItem.qml +++ b/qml/TerminalItem.qml @@ -69,6 +69,8 @@ Item { if ( terminal !== null ) { if ( terminal.lines > 10 ) { terminal.lines -= 1; + } else { + terminal.displayOverlay(); } } } |