core.lua (f35b4e7e97fefff58058f746faeea2fdf9e2ff07) core.lua (1504bce32d51612b355295155b69fc372309fbb9)
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

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

24-- SUCH DAMAGE.
25--
26-- $FreeBSD$
27--
28
29local core = {};
30
31-- Commonly appearing constants
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

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

24-- SUCH DAMAGE.
25--
26-- $FreeBSD$
27--
28
29local core = {};
30
31-- Commonly appearing constants
32core.KEY_BACKSPACE = 8;
32core.KEY_ENTER = 13;
33core.KEY_ENTER = 13;
33core.KEY_BACKSPACE = 127;
34core.KEY_DELETE = 127;
34
35core.KEYSTR_ESCAPE = "\027";
36
37core.MENU_RETURN = "return";
38core.MENU_ENTRY = "entry";
39core.MENU_SEPARATOR = "separator";
40core.MENU_SUBMENU = "submenu";
41core.MENU_CAROUSEL_ENTRY = "carousel_entry";

--- 140 unchanged lines hidden ---
35
36core.KEYSTR_ESCAPE = "\027";
37
38core.MENU_RETURN = "return";
39core.MENU_ENTRY = "entry";
40core.MENU_SEPARATOR = "separator";
41core.MENU_SUBMENU = "submenu";
42core.MENU_CAROUSEL_ENTRY = "carousel_entry";

--- 140 unchanged lines hidden ---