summaryrefslogtreecommitdiff
path: root/glnx-console.h
Commit message (Collapse)AuthorAgeFilesLines
* Declare copyright and licensing using REUSESimon McVittie2022-02-191-0/+1
| | | | | | | | | | | | | | To fill in some gaps, I've had to make some assumptions: * trivial changes (such as checking for an additional function or header file in libglnx.m4) are assumed to not be copyrightable * Will Thompson and Matthew Leeds are assumed to be contributing on behalf of Endless Mobile Inc. * files with no explicit licensing information are assumed to be under the license found in COPYING Reference: https://reuse.software/ Signed-off-by: Simon McVittie <smcv@debian.org>
* console: make stdout_is_tty() publicJonathan Lebon2018-01-101-0/+2
| | | | | | | Share its static var goodness with clients. This will be used in rpm-ostree from various places which sometimes do use a `GLnxConsole` and sometimes don't, so it's more convenient to make it its own function.
* console: Add an "n items" APIColin Walters2017-12-121-1/+5
| | | | It's often really useful to see the counts, not just the percentage.
* console: Add an API to just emit textColin Walters2016-03-101-0/+2
| | | | We had this internally, just need to expose it.
* console: g_auto() macro no-ops if console is not lockedColin Walters2016-01-251-1/+2
| | | | Otherwise we miss a lot of the ergonomics of cleanup macros.
* console: Do basic output if we're not on a ttyColin Walters2015-04-171-0/+1
| | | | | | | | | Doing nothing isn't super useful; if you're using e.g. rpm-ostree in Jenkins you want to see *something* from the "live tail". This is a basic line-per-change implementation. Closes: https://github.com/GNOME/libglnx/pull/6
* console: Make glnx_console_lines and columns publicColin Walters2015-03-191-0/+4
| | | | They'll be used by rpm-ostree at least.
* Fix includes when relying on backported g_autoptr()Matthew Barnes2015-02-181-1/+1
|
* Import console from rpm-ostreeColin Walters2015-02-171-0/+47
This contains some basic progress bar drawing code for now.