diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2008-12-02 17:35:55 +0100 |
---|---|---|
committer | dt <qtc-commiter@nokia.com> | 2008-12-02 17:56:01 +0100 |
commit | 9a801f897d9931baba6a3942b48be29ffe3ea216 (patch) | |
tree | 95fe36a4175639acf783db095b5df9996c52414e /bin | |
parent | 96732d7040cc76a8856efbd8ea5b00de52808679 (diff) | |
download | qt-creator-9a801f897d9931baba6a3942b48be29ffe3ea216.tar.gz |
Fixes: - Size of terminal when open in external editor on Mac
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/runInTerminal.command | 8 |
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 |