📄 nopaste
字号:
load utimeon ^set "nopaste on" { @ nopaste.on = 1 setup_nopaste xecho -b NOPASTE set to on}on ^set "nopaste off" { @ nopaste.on = 0 remove_nopaste xecho -b NOPASTE set to off}alias setup_nopaste { @ nopaste.last = utime() @ nopaste.counter = 0 on ?input * { if ([$[1]*] == [/]) { return 0 } if ((:nc = strlen($*)) == 0) { return 0 } @ :td = utime_sub($utime() $nopaste.last) @ :sec = word(0 $td) @ :usec = (sec * 1000000) + word(1 $td) @ nopaste.last = utime() @ :us = ((100000 - usec) / nc) @ nopaste.counter += us if (nopaste.counter < 0) { @ nopaste.counter = 0 } if (nopaste.counter > 2500) { parsekey erase_line return 1 } { return 0 } }}alias remove_nopaste{ on input -*}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -