[Major Refactor]: The 'handle_key_press()' function responsible for processing keyboard inputs has been refactored to use switch-case statements intead of an excessively long chain of if-else statements. Due to huge number of possible inputs, this approach should improve performance (jump-tables) of the application, while increasing readability and maintainability of the codebase in the future. Custom keybinds can also be easily worked on and implemented in the near future thanks to this approach.
This commit is contained in:
parent
244fc59672
commit
57a9348cf1
2970
src/callback.c
2970
src/callback.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue