📄 functions.pl
字号:
sub run { my $x = join(" ", @_); # Protect against accidents $x =~ s/;/\\;/; $x =~ s/\n/ /; $x = $x . "\n"; syswrite INTERP, $x, length($x);}# This value is the file descriptor of the interpreter pipe and is set by# mclopen(INTERP, ">&$interpreterPipe") or die;# Create wrappers for other mcl functionsforeach (qw/load open close reopen quit speedwalk bell echo status exec window kill print alias action send help eval run setinput clear prompt send_unbuffered/) { eval "sub mcl_$_ { run (\"${commandCharacter}$_ \" . join(' ', \@_)); }";}1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -