Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add blank lines in default programs #530

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

navzam
Copy link
Member

@navzam navzam commented Jan 25, 2025

Adds an extra blank line in the default C and C++ programs before the return statements, to help users insert code more easily.

The previous default for C was:

#include <stdio.h>
#include <kipr/wombat.h>

int main()
{
  printf("Hello, World!\n");
  return 0;
}

and now it's:

#include <stdio.h>
#include <kipr/wombat.h>

int main()
{
  printf("Hello, World!\n");

  return 0;
}

@navzam navzam requested a review from tcorbly January 25, 2025 04:29
@tcorbly tcorbly merged commit 11cf016 into master Jan 27, 2025
3 checks passed
@tcorbly tcorbly deleted the add-blank-line-in-default-code branch January 27, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants