core.lua (6f412147b226a59d0ad5fd1114c417100a88b6ee) core.lua (b57465454b35f6e24a6df02a93a27d0136c016d9)
1--
2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org>
3-- All rights reserved.
4--
5-- Redistribution and use in source and binary forms, with or without
6-- modification, are permitted provided that the following conditions
7-- are met:
8-- 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25--
26-- $FreeBSD$
27--
28
29local config = require('config');
30
31local core = {};
32
1--
2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org>
3-- All rights reserved.
4--
5-- Redistribution and use in source and binary forms, with or without
6-- modification, are permitted provided that the following conditions
7-- are met:
8-- 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25--
26-- $FreeBSD$
27--
28
29local config = require('config');
30
31local core = {};
32
33-- Module exports
33-- Commonly appearing constants
34core.KEY_BACKSPACE = 8;
35core.KEY_ENTER = 13;
36core.KEY_DELETE = 127;
37
38core.KEYSTR_ESCAPE = "\027";
39
40core.MENU_RETURN = "return";

--- 200 unchanged lines hidden ---
34-- Commonly appearing constants
35core.KEY_BACKSPACE = 8;
36core.KEY_ENTER = 13;
37core.KEY_DELETE = 127;
38
39core.KEYSTR_ESCAPE = "\027";
40
41core.MENU_RETURN = "return";

--- 200 unchanged lines hidden ---