• exec/load/sbbsdefs.js key_defs.js

    From rswindell@VERT to CVS commit on Saturday, September 21, 2019 23:20:39
    exec/load sbbsdefs.js 1.97 1.98 key_defs.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv20128

    Modified Files:
    sbbsdefs.js
    Added Files:
    key_defs.js
    Log Message:
    Moved KEY_* definitions from sbbsdefs.js to (new file) key_defs.js.
    Using require() and 'const' as appropriate.
    Added KEY_ESC (escape key) definition.
    Added CTRL_A through CTRL_Z definitions.
    This file can be loaded like var keydef = load({}, 'key_defs.js') and then
    use keydef.KEY_UP, keydef.CTRL_Z, etc., or just use them globally as defined when load('sbbsdefs.js') is used.




    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net