Fix '-t in args' check

fixes #77
Merge pull request #77 from ThiefMaster/fix-dash-t-command

Command is executed in the wrong window!