Commits


Change "this should not happen" messages from debug to exit Make log_errx to use shutdown() instead of exit()


Let's have a green banner


Add very basic support for terminal colors


Replace int with define


Remove version option


Remove banner blah


save all chars in one json file


Load mapping on startup


Add getter for isscrolls_path


Add function to set prompt


Add copyright header


Pledge and unveil on OpenBSD, because why not


Show version and explain what isscrolls actually is :)


Show version when -V is given


No need for the variable


Re-organize shutdown and add a signal handler This ensures that history is saved upon ^C


Make global variable a local one


Prefix debug output with [*]


Add support for XDG_CONFIG_HOME and save history there


Mark argument as unused


Sprinkle some __attribute__((unused)) here. Hope GCC likes this as well


Show users some info on startup


Add a cool banner


Fix wrong wording. Die is singular, dice is plural


Seed random number generator with current time of the day