aboutsummaryrefslogtreecommitdiff
path: root/qml/TerminalItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/TerminalItem.qml')
-rw-r--r--qml/TerminalItem.qml24
1 files changed, 24 insertions, 0 deletions
diff --git a/qml/TerminalItem.qml b/qml/TerminalItem.qml
index b417a6b..acc2f8e 100644
--- a/qml/TerminalItem.qml
+++ b/qml/TerminalItem.qml
@@ -44,6 +44,30 @@ Item {
}
}
+ function widen() {
+ if ( terminal !== null ) {
+ terminal.columns += 1;
+ }
+ }
+
+ function narrow() {
+ if ( terminal !== null ) {
+ terminal.columns -= 1;
+ }
+ }
+
+ function heighten() {
+ if ( terminal !== null ) {
+ terminal.lines += 1;
+ }
+ }
+
+ function shorten() {
+ if ( terminal !== null ) {
+ terminal.lines -= 1;
+ }
+ }
+
FocusScope {
id: scope