Skip to content

Instantly share code, notes, and snippets.

@zacharycarter
Created March 2, 2017 02:16
Show Gist options
  • Save zacharycarter/61037bd748633c70d218e2f5e6001c53 to your computer and use it in GitHub Desktop.
Save zacharycarter/61037bd748633c70d218e2f5e6001c53 to your computer and use it in GitHub Desktop.
#include "BearLibTerminal.h"
int main()
{
terminal_open();
// Printing text
terminal_print(1, 1, "Hello, world!");
terminal_refresh();
// Wait until user close the window
while (terminal_read() != TK_CLOSE);
terminal_close();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment