make go fmt happy
This commit is contained in:
@@ -333,8 +333,8 @@ def generate_functional_table() -> None:
|
||||
text = f'var functional_key_number_to_name_map = map[int]string{serialize_go_dict(code_to_name)}\n'
|
||||
text += f'\nvar csi_number_to_functional_number_map = map[int]int{serialize_go_dict(csi_map)}\n'
|
||||
text += f'\nvar letter_trailer_to_csi_number_map = map[string]int{serialize_go_dict(letter_trailer_codes)}\n'
|
||||
tt = ', '.join(f'{x}:true' for x in tilde_trailers)
|
||||
text += f'\nvar tilde_trailers = map[int]bool{{ {tt} }}'
|
||||
tt = ', '.join(f'{x}: true' for x in tilde_trailers)
|
||||
text += '\nvar tilde_trailers = map[int]bool{' + f'{tt}' + '}\n'
|
||||
patch_file('tools/tui/loop/key-encoding.go', 'csi mapping', text, start_marker='// ', end_marker='')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user