Skip to content
Snippets Groups Projects
Commit 68e4ca00 authored by George Nachman's avatar George Nachman
Browse files

Merge branch 'gridTry2' of https://github.com/gnachman/iTerm2 into gridTry2

parents 01a8d650 0954293f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -240,6 +240,13 @@
<key>Name</key>
<string>terminate</string>
</dict>
<key>clear</key>
<dict>
<key>Description</key>
<string>Clears a session; same as Cmd+K in a session.</string>
<key>Name</key>
<string>clear</string>
</dict>
<key>write</key>
<dict>
<key>Arguments</key>
Loading
Loading
Loading
Loading
@@ -589,6 +589,7 @@ typedef enum {
-(void)handleTerminateScriptCommand: (NSScriptCommand *)command;
-(void)handleSelectScriptCommand: (NSScriptCommand *)command;
-(void)handleWriteScriptCommand: (NSScriptCommand *)command;
-(void)handleClearScriptCommand: (NSScriptCommand *)command;
 
@end
 
Loading
Loading
@@ -4710,6 +4710,11 @@ static long long timeInTenthsOfSeconds(struct timeval t)
[[[[self tab] parentWindow] tabView] selectTabViewItemWithIdentifier:[self tab]];
}
 
-(void)handleClearScriptCommand:(NSScriptCommand *)command
{
[self clearBuffer];
}
-(void)handleWriteScriptCommand:(NSScriptCommand *)command
{
// Get the command's arguments:
Loading
Loading
Loading
Loading
@@ -104,6 +104,8 @@
<string>handleTerminateScriptCommand:</string>
<key>write</key>
<string>handleWriteScriptCommand:</string>
<key>clear</key>
<string>handleClearScriptCommand:</string>
</dict>
<key>ToOneRelationships</key>
<dict>
Loading
Loading
@@ -296,6 +298,15 @@
<key>CommandClass</key>
<string>NSScriptCommand</string>
</dict>
<key>clear</key>
<dict>
<key>AppleEventClassCode</key>
<string>ITRM</string>
<key>AppleEventCode</key>
<string>Sclr</string>
<key>CommandClass</key>
<string>NSScriptCommand</string>
</dict>
<key>write</key>
<dict>
<key>AppleEventClassCode</key>
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment