Commit Graph

45 Commits

Author SHA1 Message Date
zhangxianbing
68d059d6d2 Fix setlocale usage in utf8_decode function 2023-11-21 11:02:13 +08:00
tocic
525ce444f4 Add missing <cstdint> header
Fixes the "‘uint8_t’ has not been declared" error with gcc 13.1.1.
2023-05-07 12:36:15 +03:00
Daniel Breitlauch
6549b77d0b remove signed to unsigned conversion + check for errors 2023-04-04 12:32:37 +02:00
Pranav Srinivas Kumar
bfe95fee17 Updated single_include to support mbstowcs_s Windows impl 2023-02-15 07:11:53 -08:00
Pranav Srinivas Kumar
15c180b113 Removed unused vector header 2023-02-14 08:09:46 -08:00
Pranav Srinivas Kumar
80b822c576 Removed deprecated codecvt 2023-02-14 08:07:50 -08:00
Dragon
40b99f6b04 Generate single header 2021-10-28 23:55:59 +03:00
Chuvi
28a81289a6 Fix #define min/max problem from Windows.h 2021-07-12 09:56:08 +03:00
Pranav Srinivas Kumar
e34840ab0d Closes #93 - Defined _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING to remove codecvt warning 2021-05-03 17:34:59 -05:00
Pranav Srinivas Kumar
276d476d4d Fixed the NOMINMAX issue for Windows build with latest termcolor #76, replaced #pragma once with #ifndef-define pairs 2021-05-03 09:37:44 -05:00
Pranav Srinivas Kumar
c338b5b280 Updated termcolor to v2.0. Bumped indicators to v2.1, closes #94 2021-05-02 23:17:24 -05:00
turuslan
96a2053d5b initialize local variable 2021-03-18 12:23:58 +03:00
Pranav Srinivas Kumar
4790bfddca Added carriage return before prefix text 2021-03-13 10:48:45 -06:00
Pranav Srinivas Kumar
b85eadb47c Closes #80 2020-12-08 09:15:05 -06:00
Seth Parker
d11ffd91c6 Round time estimate up to nearest nanosecond 2020-11-16 11:27:16 -05:00
Seth Parker
e01c2950f2 Use floats for remaining time math 2020-11-16 10:54:05 -05:00
Seth Parker
c3ff1fbd91 Mitigate overflow when calculating eta 2020-11-12 13:21:42 -05:00
Pranav Srinivas Kumar
af7c004832 Updated single_include after changing percent calculation in progress spinner 2020-10-26 07:59:48 -05:00
Pranav Srinivas Kumar
f126fde1b4 Fixed missing endif in single header version 2020-09-16 20:06:05 -05:00
Pranav Srinivas Kumar
3d48e2bd25 Closes #72 2020-09-15 08:54:21 -05:00
Pranav Srinivas Kumar
f87de6ccbd Fixed missing include for termcolor in dynamic progress and multi progress 2020-07-21 10:20:07 -05:00
Pranav Srinivas Kumar
04fddb9014 Removed redundant includes of termcolor.hpp and updated single include. Closes #68 2020-07-21 10:14:52 -05:00
Pranav
1e622293aa Update indicators.hpp 2020-07-05 13:32:06 -05:00
Pranav Srinivas Kumar
50f89e150d Updated single header file version with fix for #63 2020-06-01 08:04:13 -05:00
Pranav Srinivas Kumar
a776a52c98 Using \033 instead of \e for ISO-standards compliance #62 2020-05-25 13:06:08 -05:00
Pranav Srinivas Kumar
8e39967c1e Removed unused variables 2020-05-25 09:53:56 -05:00
Pranav Srinivas Kumar
20b1d1f69f Updated single include version 2020-05-25 09:51:02 -05:00
Pranav Srinivas Kumar
7c1d7d6367 Added dynamic postfix text sample based on #56 2020-05-25 09:14:23 -05:00
Pranav Srinivas Kumar
63bb0d8946 Progress bar now uses terminal size to figure out how many spaces to use to fill up the remainder of the terminal row 2020-05-25 08:51:34 -05:00
Pranav Srinivas Kumar
c738215419 Updated single include version w/ latest termcolor 2020-05-25 08:22:46 -05:00
Pranav Srinivas Kumar
4bf1433c21 Updated single include version 2020-05-24 23:12:20 -05:00
Pranav Srinivas Kumar
a2e11d4707 Clang format 2020-05-24 22:56:57 -05:00
Pranav Srinivas Kumar
d0562438d5 Added ProgressType enum and updated single include 2020-05-24 22:43:53 -05:00
Pranav Srinivas Kumar
16eb028686 Improved support for unicode including indeterminate progress bar. Updated unicode sample 2020-05-23 17:15:18 -05:00
Pranav Srinivas Kumar
27f4ad1f59 Made cursor control/movement functions static inline #58 2020-05-23 12:40:17 -05:00
Pranav Srinivas Kumar
f4f1402b66 Updated single header version with missing include 2020-05-22 17:10:15 -05:00
Pranav Srinivas Kumar
17e1f47fd4 Added amalgamate to help generate single header for indicators 2020-05-13 15:39:20 -05:00
Pranav Srinivas Kumar
a1ad525065 Updated single header file version of indicators
* Added IndeterminateProgressBar
* Added `Color::unspecified` enum field
* Added `option::MaxProgress` and `option::Stream`
2020-05-09 21:41:57 -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 Srinivas Kumar
a3e50e0862 Updated single include 2020-04-06 11:35:10 -07:00
Pranav Srinivas Kumar
201ce9c4fb Bumped to v1.8 2020-02-22 11:13:04 +05:30
Anonymous Maarten
83da7c3469 Put NOMINMAX just before inclusion of windows.h header 2020-02-21 00:36:03 +01:00
Pranav Srinivas Kumar
f9d3eb1bcc Minor updates 2020-02-13 14:22:52 +05:30
Pranav Srinivas Kumar
89ae8cec39 Clang format 2020-02-13 14:21:01 +05:30
Pranav Srinivas Kumar
f5b6b4d779 Added single header file v1.7 2020-02-13 14:20:40 +05:30