vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: 95d07bd283696802a11d54d6fac625696e70fd1a
Parent: 6a8b35157a071ca75833b57576237a533fd5ec09
Author: Randy Palamar
Date:   Tue, 20 Aug 2024 09:13:11 -0600

config: keybind Arg shouldn't be a pointer and scroll needs declaration

Diffstat:
Mconfig.def.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/config.def.h b/config.def.h @@ -32,11 +32,12 @@ struct { u8 bgidx; } g_colours = {base16_colours, 7, 0}; -#define KEYBIND_FN(name) b32 name(Term *t, Arg *a) +#define KEYBIND_FN(name) b32 name(Term *t, Arg a) typedef KEYBIND_FN(KeyBind_Fn); /* NOTE: Bindable Functions */ KEYBIND_FN(paste); /* arg: none */ +KEYBIND_FN(scroll); /* arg: .i = line count increment */ KEYBIND_FN(zoom); /* arg: .i = font size increment */ #define MODKEY (GLFW_MOD_ALT)