Merge branch 'unicode' of https://github.com/page-down/kitty
This commit is contained in:
commit
43c0e0f586
@ -278,8 +278,8 @@ def write_case(spec: Union[Tuple[int, ...], int], p: Callable[..., None], for_go
|
||||
def create_header(path: str, include_data_types: bool = True) -> Generator[Callable[..., None], None, None]:
|
||||
with open(path, 'w') as f:
|
||||
p = partial(print, file=f)
|
||||
p('// unicode data, built from the unicode standard on:', date.today())
|
||||
p('// see gen-wcwidth.py')
|
||||
p('// Unicode data, built from the Unicode Standard', '.'.join(map(str, unicode_version())))
|
||||
p(f'// Code generated by {os.path.basename(__file__)}, DO NOT EDIT.', end='\n\n')
|
||||
if path.endswith('.h'):
|
||||
p('#pragma once')
|
||||
if include_data_types:
|
||||
|
||||
5
kittens/unicode_input/names.h
generated
5
kittens/unicode_input/names.h
generated
@ -1,5 +1,6 @@
|
||||
// unicode data, built from the unicode standard on: 2022-11-17
|
||||
// see gen-wcwidth.py
|
||||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
|
||||
|
||||
5
kitty/emoji.h
generated
5
kitty/emoji.h
generated
@ -1,5 +1,6 @@
|
||||
// unicode data, built from the unicode standard on: 2022-11-17
|
||||
// see gen-wcwidth.py
|
||||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
|
||||
|
||||
5
kitty/unicode-data.c
generated
5
kitty/unicode-data.c
generated
@ -1,5 +1,6 @@
|
||||
// unicode data, built from the unicode standard on: 2022-11-17
|
||||
// see gen-wcwidth.py
|
||||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#include "data-types.h"
|
||||
|
||||
START_ALLOW_CASE_RANGE
|
||||
|
||||
5
kitty/wcwidth-std.h
generated
5
kitty/wcwidth-std.h
generated
@ -1,5 +1,6 @@
|
||||
// unicode data, built from the unicode standard on: 2022-11-17
|
||||
// see gen-wcwidth.py
|
||||
// Unicode data, built from the Unicode Standard 15.0.0
|
||||
// Code generated by gen-wcwidth.py, DO NOT EDIT.
|
||||
|
||||
#pragma once
|
||||
#include "data-types.h"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user