restic/internal/ui
greatroar 1ed93bd54d backend,termstatus: Unify foreground/background detection
PR #5358 reintroduced a version of the TIOCGPGRP ioctl call that works
on all Unix platforms except Linux, due to a bug/inconsistency in
x/sys/unix. This commit fixes that by introducing termstatus.Tcgetpgrp.

It also introduces termstatus.Getpgrp and termstatus.Tcsetpgrp to deal
with the different signature of unix.Getpgrp in Solaris vs. all other
Unix platforms and an int-overflowing constant on AIX, so that some
AIX/Solaris-specific code can be removed elsewhere and
foreground/background detection is done the same everywhere except on
Windows.
2025-09-08 09:33:44 +02:00
..
backup backup: include start and end time in json output 2024-11-01 16:31:34 +01:00
progress ui/progress: extend Printer interface with print to stdout method 2025-03-23 17:46:04 +01:00
restore ui: restore --delete indicates number of deleted files (#5100) 2024-12-01 15:29:11 +01:00
signals add go:build headers everywhere 2022-03-28 22:23:47 +02:00
table Fix import ordering. 2025-03-22 18:20:30 +00:00
termstatus backend,termstatus: Unify foreground/background detection 2025-09-08 09:33:44 +02:00
format.go Renames to fix clashes with reserved words. 2025-03-22 18:20:30 +00:00
format_test.go Use character display width for table padding 2024-06-05 09:33:15 +02:00
message.go ui/progress: extend Printer interface with print to stdout method 2025-03-23 17:46:04 +01:00
mock.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
terminal.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00