cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -45,11 +45,11 @@ static bool g_should_exit = false;
|
||||
static bool g_force_redraw = true;
|
||||
static int g_last_win_w = 0;
|
||||
static int g_last_win_h = 0;
|
||||
static Montauk::ProcInfo g_kill_procs[256];
|
||||
static montauk::abi::ProcInfo g_kill_procs[256];
|
||||
static int g_kill_pids[256];
|
||||
static int g_kill_pid_count = 0;
|
||||
|
||||
static bool left_pressed(const Montauk::WinEvent& ev) {
|
||||
static bool left_pressed(const montauk::abi::WinEvent& ev) {
|
||||
return (ev.mouse.buttons & 1) && !(ev.mouse.prev_buttons & 1);
|
||||
}
|
||||
|
||||
@@ -278,7 +278,7 @@ static bool term_render() {
|
||||
return true;
|
||||
}
|
||||
|
||||
static void term_handle_mouse(const Montauk::WinEvent& ev) {
|
||||
static void term_handle_mouse(const montauk::abi::WinEvent& ev) {
|
||||
if (g_tabs.tab_count <= 0) return;
|
||||
|
||||
TerminalState* ts = g_tabs.tabs[g_tabs.active_tab];
|
||||
@@ -319,7 +319,7 @@ static void term_handle_mouse(const Montauk::WinEvent& ev) {
|
||||
}
|
||||
}
|
||||
|
||||
static void term_handle_key(const Montauk::KeyEvent& key) {
|
||||
static void term_handle_key(const montauk::abi::KeyEvent& key) {
|
||||
if (g_tabs.tab_count <= 0) return;
|
||||
|
||||
if (key.ctrl && key.pressed && key.scancode == 0x14) {
|
||||
@@ -423,7 +423,7 @@ extern "C" void _start() {
|
||||
|
||||
while (!g_should_exit) {
|
||||
bool redraw = false;
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
bool quit = false;
|
||||
int r = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user