aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2008-12-02 17:35:55 +0100
committerdt <qtc-commiter@nokia.com>2008-12-02 17:56:01 +0100
commit9a801f897d9931baba6a3942b48be29ffe3ea216 (patch)
tree95fe36a4175639acf783db095b5df9996c52414e /bin
parent96732d7040cc76a8856efbd8ea5b00de52808679 (diff)
Fixes: - Size of terminal when open in external editor on Mac
Diffstat (limited to 'bin')
-rwxr-xr-xbin/runInTerminal.command8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/runInTerminal.command b/bin/runInTerminal.command
index 89195e3d10..372820c1b1 100755
--- a/bin/runInTerminal.command
+++ b/bin/runInTerminal.command
@@ -1,7 +1,11 @@
#!/bin/bash
osascript >/dev/null 2>&1 <<EOF
tell application "Terminal"
- activate
- do script with command "$@; exit"
+ do script "$1 $2 +$3 +\"normal $4|\"; exit"
+ set currentTab to the result
+ set number of columns of currentTab to $5
+ set number of rows of currentTab to $6
+ set position of windows whose tabs contains currentTab to {$7, $8}
+ activate
end tell
EOF