mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
Add notice to not edit generated code
This commit is contained in:
parent
eb8e2225e5
commit
8f8be9c2b1
2 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ last_code = start_code + len(functional_key_names) - 1
|
|||
|
||||
|
||||
def patch_file(path: str, what: str, text: str, start_marker: str = '/* ', end_marker: str = ' */') -> None:
|
||||
start_q = f'{start_marker}start {what}{end_marker}'
|
||||
start_q = f'{start_marker}start {what} (auto generated by gen-key-constants.py do not edit){end_marker}'
|
||||
end_q = f'{start_marker}end {what}{end_marker}'
|
||||
|
||||
with open(path, 'r+') as f:
|
||||
|
|
|
|||
2
glfw/glfw3.h
vendored
2
glfw/glfw3.h
vendored
|
|
@ -342,7 +342,7 @@ extern "C" {
|
|||
* @{
|
||||
*/
|
||||
|
||||
/* start functional key names */
|
||||
/* start functional key names (auto generated by gen-key-constants.py do not edit) */
|
||||
typedef enum {
|
||||
GLFW_FKEY_FIRST = 0xe000,
|
||||
GLFW_FKEY_ESCAPE = 0xe000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue