Start work on VT implementation in Go

Will be used by pager kitten
This commit is contained in:
Kovid Goyal
2025-02-06 12:31:32 +05:30
parent 4b38818dca
commit 92e2b93e95
4 changed files with 95 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#define EXTRA_INIT { \
PyModule_AddIntMacro(module, SCROLL_LINE); PyModule_AddIntMacro(module, SCROLL_PAGE); PyModule_AddIntMacro(module, SCROLL_FULL); \
PyModule_AddIntMacro(module, EXTEND_CELL); PyModule_AddIntMacro(module, EXTEND_WORD); PyModule_AddIntMacro(module, EXTEND_LINE); \
PyModule_AddIntMacro(module, SCALE_BITS); PyModule_AddIntMacro(module, WIDTH_BITS); PyModule_AddIntMacro(module, SUBSCALE_BITS); \
if (PyModule_AddFunctions(module, module_methods) != 0) return false; \
}