latin1.ed
来自「在x86平台上运行不可信任代码的sandbox。」· ED 代码 · 共 49 行
ED
49 行
,s;Rune.*\*so;Rune so[64];/k\[0\] == 'X'/s/$/{//return -5/a }.1a#include "lib.h"#include "mem.h"#include "dat.h"#include "fns.h"#include "keyboard.h".$a// Plan 9 VXvoidlatin1putc(int c, void (*kputc)(int)){ int i; static int collecting, nk; static Rune kc[5]; if(c == Kalt){ collecting = !collecting; nk = 0; return; } if(!collecting){ kputc(c); return; } kc[nk++] = c; c = latin1(kc, nk); if(c < -1) /* need more keystrokes */ return; if(c != -1) /* valid sequence */ kputc(c); else for(i=0; i<nk; i++) kputc(kc[i]); nk = 0; collecting = 0;}.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?