1414 #include < unistd.h>
1515#endif
1616
17- inline static int get_terminal_width (void ){
17+ int get_terminal_width (void ){
1818 #ifdef _WIN32
1919 CONSOLE_SCREEN_BUFFER_INFO csbi;
2020 int columns;
@@ -41,7 +41,7 @@ inline static int get_terminal_width(void){
4141// End credit
4242
4343
44- inline void output (std::string scramble, float avg)
44+ void output (std::string scramble, float avg)
4545{
4646 // avg must be > 0 otherwise I will not output it.
4747
@@ -96,7 +96,7 @@ inline void output(std::string scramble, float avg)
9696}
9797
9898// Prompting
99- inline float getTime ()
99+ float getTime ()
100100{
101101 std::string inputtedTime;
102102 std::string correct;
@@ -128,7 +128,7 @@ inline float getTime()
128128 }
129129}
130130
131- inline std::string getPenalty ()
131+ std::string getPenalty ()
132132{
133133 std::string penalty;
134134
@@ -150,7 +150,7 @@ inline std::string getPenalty()
150150 }
151151}
152152
153- inline void outputHelp ()
153+ void outputHelp ()
154154{
155155 std::cout << " How to use CLI_Timer.\n CLI_Timer (cube type) [-b] | [-f(mc))] [--count{number}] [--no_enter] | [c] | [-s{session name}] | [--no_prompt] | [--no_avg] \
156156 \n\n Argument (cube type) means an NxN of (2)x2 (3)x3 to (7)x7 or (S)kewb, (P)yraminx, (M)egaminx, (C)lock or s(Q)uare-1.\
@@ -172,10 +172,9 @@ inline void outputHelp()
172172 \n\n LICENCES: Main: MIT licences.\n Square-1 code: GNU General Public License v3.0 (repo: <https://github.com/thewca/tnoodle-lib>)" ;
173173}
174174
175- inline void outputVersion ()
175+ void outputVersion ()
176176{
177177 std::cout << " CLI_Timer version: 1.14\n\n " ;
178178 std::cout << " Scramble outputs ⅓ of the screen + avg to right" << std::endl;
179179 std::cout << " Moved the outputting code to another file." << std::endl;
180- std::cout << " Added static and inline to outputting.hpp" << std::endl;
181180}
0 commit comments