348 Commits

Author SHA1 Message Date
Pranav Srinivas Kumar
6f057a51a1 Closes #22 2020-05-09 20:33:15 -05:00
Pranav Srinivas Kumar
b215cb850e Added functions to retrieve terminal width 2020-05-08 18:09:08 -05:00
Pranav
e950065e34 Merge pull request #51 from p-ranav/feature/43
Feature/43
2020-05-08 17:28:47 -05:00
Pranav
643e5ce6a1 Update README.md 2020-05-08 17:25:50 -05:00
Pranav Srinivas Kumar
11ec12c0cb Added indeterminate progress bar demo GIF 2020-05-08 17:23:21 -05:00
Pranav Srinivas Kumar
d2179d75ce Updated sample for indeterminate_progress_bar and added demo GIF 2020-05-08 17:18:00 -05:00
Pranav Srinivas Kumar
6d73795218 Implemented indeterminate progress bar w/ sample 2020-05-08 17:13:28 -05:00
Pranav Srinivas Kumar
6857345da5 Initial commit 2020-05-08 16:30:47 -05:00
Pranav Srinivas Kumar
3800785216 Updated dynamic progress bar GIF 2020-05-08 16:19:13 -05:00
Pranav Srinivas Kumar
a949efd512 Removed unnecessary mark_as_completed in set_progress sample 2020-05-08 15:23:01 -05:00
Pranav Srinivas Kumar
296bde6088 Minor bug fixes and updates:
* Removed progress bar sample that progresses in reverse direction - This needs a class of its own
* Fixed a casting error in progress_bar class when dealing with max_progress variable
* Minor update to the cursor movement functions in linux
* Updated single include to include these changes
2020-05-08 15:14:52 -05:00
Pranav
66af25ab62 Merge pull request #50 from godbyk/feature/adjustable-tick-size
Add a MaxProgress option (default: 100).
2020-05-02 18:45:30 -05:00
Kevin M. Godby
371bcb2c3b Add a MaxProgress option (default: 100).
The MaxProgress option allows you to set the maximum number of ticks
that are within a progress bar. Each call to tick() increments the tick
count. The progress bar percentage is the number of ticks divided by the
MaxProgress option.

The default MaxProgress is 100, so each tick would be 1%.  If
MaxProgress is set to 500, for example, then each tick would be 0.2%.
2020-04-30 21:37:06 -05:00
Pranav
df4a97b068 Merge pull request #49 from godbyk/bugfix/cmake-homepage-url
Support versions of CMake going back to version 3.8.
2020-04-30 17:59:10 -07:00
Kevin M. Godby
55494a572b Support version of CMake going back to version 3.8.
The DESCRIPTION parameter of the project() command was introduced in
CMake version 3.9.

The HOMEPAGE_URL parameter was introduced in CMake version 3.11.
2020-04-30 19:24:17 -05:00
Pranav
3d1d01ba0d Merge pull request #48 from motis-project/win-cursor-mv
Abstraction for Cursor Movements (Issue #46)
2020-04-26 10:28:57 -07:00
Felix Gündling
c2beb2ac22 adjust readme, demo, and examples: replace show/hide cursor calls 2020-04-26 18:52:23 +02:00
Felix Gündling
d99cad1ede setting console mode to processed output not neccesary if we use SetConsoleCursorPosition 2020-04-25 08:57:32 +02:00
Felix Gündling
ad5cf841be cursor movement and cursor hiding support for windows 2020-04-25 08:49:30 +02:00
Pranav Srinivas Kumar
4aef1470f1 Showing [00:00<00:00] if start time is not saved yet #45 2020-04-15 10:18:28 -05:00
Pranav Srinivas Kumar
dd08556b27 Fixed typo 2020-04-06 11:51:19 -07:00
Pranav
57a942f392 Merge pull request #40 from p-ranav/feature/font_styles
Feature/font styles
2020-04-06 11:49:27 -07:00
Pranav Srinivas Kumar
78a98fec4d Minor updates 2020-04-06 11:48:16 -07:00
Pranav Srinivas Kumar
06414bb6db Resolved merge conflicts 2020-04-06 11:46:53 -07:00
Pranav Srinivas Kumar
cd6dc2aebf Fixed merge conflict 2020-04-06 11:43:20 -07:00
Pranav Srinivas Kumar
446b0d3147 Recovered CMakeLists 2020-04-06 11:41:18 -07:00
Pranav Srinivas Kumar
a3e50e0862 Updated single include 2020-04-06 11:35:10 -07:00
Pranav
936b8e66d8 Update README.md 2020-04-06 13:30:57 -05:00
Pranav Srinivas Kumar
16d3484788 Fixed build 2020-04-06 11:25:54 -07:00
Pranav Srinivas Kumar
833e1cd6db Initial commit 2020-04-06 11:10:41 -07:00
Pranav Srinivas Kumar
07b9eede8a Minor updates to support FontStyles 2020-04-06 11:05:44 -07:00
Pranav
562cb80a36 Merge pull request #38 from wolfv/add_color_unspecified
remove bold output and default color to unspecified
2020-04-06 11:05:31 -07:00
Wolf Vollprecht
7e43298470 remove bold output and default color to unspecified 2020-04-06 19:05:11 +02:00
Pranav
fd21e7d81f Closes #36 2020-04-03 16:02:31 -05:00
Pranav
37b3fc395e Merge pull request #35 from LesleyLai/master
fix MSVC unused parameter warning
2020-03-04 04:58:21 -06:00
Lesley
99f4f3f05b fix MSVC unused parameter warning 2020-03-03 22:02:11 -07:00
Pranav
5a9419b191 Update README.md 2020-02-24 16:37:13 +05:30
Pranav
4ada9e3f77 Update README.md 2020-02-24 16:36:39 +05:30
Pranav
8ad116cc5f Update README.md 2020-02-24 16:34:06 +05:30
Pranav
4b1ce0d2f7 Update README.md 2020-02-23 20:32:41 +05:30
Pranav
3fb4eb9dd1 Update README.md 2020-02-22 11:20:13 +05:30
Pranav
0e041e8fea Merge pull request #33 from p-ranav/bugfix/25
Change progress_ to size_t
2020-02-22 11:16:41 +05:30
Pranav Srinivas Kumar
201ce9c4fb Bumped to v1.8 2020-02-22 11:13:04 +05:30
Pranav Srinivas Kumar
d4a38eb034 Closes 25 - Changed to 2020-02-22 11:02:16 +05:30
Pranav
ec1973607d Merge pull request #32 from p-ranav/feature/dynamic-progress
Feature/dynamic progress
v1.7
2020-02-22 00:53:39 +05:30
Pranav Srinivas Kumar
5049e70c50 Minor update 2020-02-22 00:53:13 +05:30
Pranav
5bc3183c12 Update README.md 2020-02-22 00:50:19 +05:30
Pranav
fcda546c9c Update README.md 2020-02-22 00:49:12 +05:30
Pranav Srinivas Kumar
f5c1e61676 Minor updates 2020-02-22 00:40:38 +05:30
Pranav Srinivas Kumar
c7b25e7c3a Added dynamic progress GIFs 2020-02-22 00:38:03 +05:30