cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -396,7 +396,7 @@ static int prompt_input(const char* promptStr, char* out, int outMax) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Montauk::KeyEvent ev;
|
||||
montauk::abi::KeyEvent ev;
|
||||
montauk::getkey(&ev);
|
||||
if (!ev.pressed) continue;
|
||||
|
||||
@@ -732,7 +732,7 @@ static constexpr uint8_t SC_DELETE = 0x53;
|
||||
|
||||
// ---- Input handling ----
|
||||
|
||||
static void handle_key(const Montauk::KeyEvent& ev) {
|
||||
static void handle_key(const montauk::abi::KeyEvent& ev) {
|
||||
if (!ev.pressed) return;
|
||||
|
||||
// Ctrl key combinations
|
||||
@@ -905,7 +905,7 @@ extern "C" void _start() {
|
||||
montauk::yield();
|
||||
}
|
||||
|
||||
Montauk::KeyEvent ev;
|
||||
montauk::abi::KeyEvent ev;
|
||||
montauk::getkey(&ev);
|
||||
handle_key(ev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user