From c0ee5203201d4ddf4ed560f856cb0da958935fc6 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 12 Apr 2025 10:44:40 +0530 Subject: Rename term tab with view --- src/LuaRuntime.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/LuaRuntime.hpp') diff --git a/src/LuaRuntime.hpp b/src/LuaRuntime.hpp index e73650c..64bb1f1 100644 --- a/src/LuaRuntime.hpp +++ b/src/LuaRuntime.hpp @@ -14,11 +14,11 @@ #define PROJECT_LUA_PATH "" #endif -#define preserve_top(STATE, BODY) \ - { \ - const int __top = lua_gettop(STATE); \ - BODY; \ - lua_settop(STATE, __top); \ +#define preserve_top(STATE, BODY) \ + { \ + const int __top = lua_gettop(STATE); \ + BODY; \ + lua_settop(STATE, __top); \ }; class LuaRuntime : public QObject { @@ -66,11 +66,11 @@ protected: static int lua_event_register(lua_State *state); static int lua_keymap_set(lua_State *state); static int lua_open_url(lua_State *state); - static int lua_tab_close(lua_State *state); - static int lua_tab_create(lua_State *state); - static int lua_tab_current(lua_State *state); - static int lua_tab_list(lua_State *state); - static int lua_tab_select(lua_State *state); + static int lua_view_close(lua_State *state); + static int lua_view_create(lua_State *state); + static int lua_view_current(lua_State *state); + static int lua_view_list(lua_State *state); + static int lua_view_select(lua_State *state); private: lua_State *state; -- cgit v1.3.1