Make binary portable and other fixes

This commit is contained in:
2026-01-31 10:25:39 +00:00
parent 86d5b7a021
commit f93afc0d14
25 changed files with 738 additions and 427 deletions

View File

@@ -27,9 +27,10 @@ struct CompletionSession {
bool active = false;
Coord hook;
std::optional<std::string> prefix;
uint8_t select = 0;
uint32_t select = 0;
uint32_t scroll = 0;
std::vector<CompletionItem> items;
std::vector<uint8_t> visible;
std::vector<uint32_t> visible;
bool complete = true;
std::optional<char> trigger_char;
uint8_t trigger = 0;

View File

@@ -17,11 +17,9 @@
#define WORD 1
#define LINE 2
#define EXTRA_META 4
#define EXTRA_META 2
#define INDENT_WIDTH 2
// autocomplete lua// Bracket closing / tab on enter
struct Editor {
std::string filename;
std::string uri;
@@ -31,7 +29,7 @@ struct Editor {
uint32_t cursor_preffered;
Coord selection;
bool selection_active;
bool unix_eol; // false for windows
bool unix_eol;
int selection_type;
Coord position;
Coord size;