Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
budchirp committed Aug 18, 2024
1 parent 2f54365 commit 0c5cf88
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [budchirp]
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<h1 align="center">calcplusplus</h1>
<h2 align="center">TUI calculator written in C++ using FTXUI</h2>
<div align="center">
<h1>calcplusplus</h1>
<h2>TUI calculator written in C++ using FTXUI</h2>
</div>

<p align="center">
<div align="center">
<img alt="Stargazers" src="https://img.shields.io/github/stars/budchirp/calcplusplus?style=for-the-badge&colorA=0b1221&colorB=ff8e8e" />
<img alt="Last commit" src="https://img.shields.io/github/last-commit/budchirp/calcplusplus?style=for-the-badge&colorA=0b1221&colorB=BDB0E4" />
<img alt="Issues" src="https://img.shields.io/github/issues/budchirp/calcplusplus?style=for-the-badge&colorA=0b1221&colorB=FBC19D" />
</p>

</div>

## 💾 Getting started

Expand Down
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ int main() {
expressionsInputOptions.multiline = false;
Component expressionsInput = Input(&expression, "", expressionsInputOptions);

Component quitButton = Button(
"X", [&] { screen.Exit(); }, ButtonOption::Ascii());
Component quitButton =
Button("X", [&] { screen.Exit(); }, ButtonOption::Ascii());

Component clearButton = Button(" C ", [&] {
expression = "";
Expand Down

0 comments on commit 0c5cf88

Please sign in to comment.