summaryrefslogtreecommitdiffstats
path: root/src/bar.c
Commit message (Collapse)AuthorAgeFilesLines
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+3
|
* bar: Hide the bar unless the TTY is tall enoughTavian Barnes2024-08-071-13/+23
|
* bar: #include <unistd.h> for ioctl() on IllumosTavian Barnes2024-08-011-0/+1
|
* bar: Use tcgetwinsize() from POSIX 2024 if availableTavian Barnes2024-07-281-3/+10
|
* prelude: Simplify attributesTavian Barnes2024-07-281-1/+1
|
* bfstd: New helper for open(ctermid())Tavian Barnes2024-05-251-8/+1
|
* bar: Use atsigexit() to reset the barTavian Barnes2024-05-161-132/+47
|
* bar: Make SIGWINCH move the cursor out of the barTavian Barnes2024-05-151-23/+16
|
* bar: Defend bfs_bar::fd against signal handler racesTavian Barnes2024-05-091-31/+102
| | | | | This is not currently a problem because bfs_bar_hide() is only ever called while single-threaded, but we might as well program defensively.
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* config: s/attr_format/attr_printf/Tavian Barnes2023-12-181-1/+1
|
* config: New variadic attr(...) macroTavian Barnes2023-12-181-1/+1
|
* config: s/BFS_FORMATTER/attr_format/Tavian Barnes2023-11-091-1/+1
|
* bar: Replace volatile sig_atomic_t with actual atomicsTavian Barnes2023-10-061-8/+12
|
* dstring: New dchar typedef for dynamic stringsTavian Barnes2023-09-261-1/+1
|
* bar: Use USHRT_WIDTHTavian Barnes2023-05-181-2/+2
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* Fix includesTavian Barnes2022-11-061-1/+1
|
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-1/+1
|
* Source / Include Folder (#88)トトも2022-04-161-0/+248
Moved Source Files Into `src` Folder