Skip to content

Commit 0c5cf88

Browse files
committed
chore: update readme
1 parent 2f54365 commit 0c5cf88

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [budchirp]

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
<h1 align="center">calcplusplus</h1>
2-
<h2 align="center">TUI calculator written in C++ using FTXUI</h2>
1+
<div align="center">
2+
<h1>calcplusplus</h1>
3+
<h2>TUI calculator written in C++ using FTXUI</h2>
4+
</div>
35

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

1112
## 💾 Getting started
1213

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ int main() {
4747
expressionsInputOptions.multiline = false;
4848
Component expressionsInput = Input(&expression, "", expressionsInputOptions);
4949

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

5353
Component clearButton = Button(" C ", [&] {
5454
expression = "";

0 commit comments

Comments
 (0)