(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.

This commit is contained in:
michi_cc
2009-10-04 21:08:38 +00:00
parent a831143f45
commit 049d62b35c
6 changed files with 91 additions and 74 deletions

View File

@@ -293,6 +293,9 @@ struct IConsoleWindow : Window
MarkWholeScreenDirty();
break;
#ifdef WITH_COCOA
case (WKC_META | 'V'):
#endif
case (WKC_CTRL | 'V'):
if (InsertTextBufferClipboard(&_iconsole_cmdline)) {
IConsoleResetHistoryPos();
@@ -304,6 +307,9 @@ struct IConsoleWindow : Window
IConsoleCmdExec("clear");
break;
#ifdef WITH_COCOA
case (WKC_META | 'U'):
#endif
case (WKC_CTRL | 'U'):
DeleteTextBufferAll(&_iconsole_cmdline);
this->SetDirty();