Major updates:

- A lotta cleanup
- BEd command parser rewrite
- Vase class removed
- Proper IO system.
- A lot more.
This commit is contained in:
2026-08-29 22:30:01 +01:00
parent d7278251ec
commit b8eac7b2da
42 changed files with 2153 additions and 1733 deletions
+4 -2
View File
@@ -11,7 +11,7 @@ struct KeyEvent {
RESIZE
};
enum struct KeyType {
NONE,
EOF_,
CHAR,
SPECIAL,
MOUSE,
@@ -38,7 +38,7 @@ struct KeyEvent {
RELEASE
};
KeyType type = KeyType::NONE;
KeyType type = KeyType::EOF_;
std::string text;
SpecialKey special_key = SpecialKey::UNKNOWN;
@@ -67,6 +67,8 @@ struct IO {
std::pair<std::string, bool> get_text(BEd &);
KeyEvent read_key();
void write(const char *, uint64_t);
void write(std::string_view);
private:
static termios orig_termios;