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

Add esc]50;ClearScrollback^G to erase screen and scrollback buffer.

parent 2b747623
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2679,6 +2679,8 @@ static VT100TCC decode_string(unsigned char *datap,
[NSApp activateIgnoringOtherApps:YES];
[[[SCREEN display] window]makeKeyAndOrderFront:nil];
[[[SCREEN display] window]makeMainWindow];
} else if ([key isEqualToString:@"ClearScrollback"]) {
[SCREEN clearBuffer];
}
} else if (token.type == XTERMCC_SET_PALETTE) {
NSString* argument = token.u.string;
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