This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <math.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <stdbool.h> | |
#include <string.h> | |
#include "thebe.h" | |
/*** TODO | |
* - switch tables to use uint32_t indexes; that's big enough for anybody, maybe even consider using |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'kcub1': {'\\E[217z', '\\EOD', '\\E[D', '\\ED'}, | |
'kcud1': {'\\EB', '\\E[221z', '\\E[B', '\\EOB'}, | |
'kcuf1': {'\\EC', '\\E[219z', '\\EOC', '\\E[C'}, | |
'kcuu1': {'\\EOA', '\\E[A', '\\E[215z', '\\EA'}, | |
'kend': {'\\EF', | |
'\\EOF', | |
'\\E[146q', | |
'\\E[220z', | |
'\\E[4~', | |
'\\E[8~', |