summaryrefslogtreecommitdiffstats
path: root/src/basic/terminal-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* terminal-util: define ANSI_OSC as macro for the OSC terminal sequence prefixLennart Poettering2024-10-311-2/+2
* tree-wide: prefer generating 0x1B 0x5C as ANSI sequence "ST"Lennart Poettering2024-10-311-2/+2
* varlinkctl: respect $COLUMNS when rebreaking lines and we are not connected t...Lennart Poettering2024-10-211-9/+20
* Move show_menu() to terminal-util.hDaan De Meyer2024-10-021-0/+47
* homed: wait for user input during firstbootMichael Ferrari2024-09-171-0/+19
* terminal-util: correct fd validity checkMike Yuan2024-09-081-1/+1
* tree-wide: use isatty_safe() moreLennart Poettering2024-08-201-2/+2
* terminal-util: don't assume errno is correctly set when using isatty_safe()Lennart Poettering2024-08-201-3/+3
* terminal-util: fix isatty_safe() on hung-up TTYsLennart Poettering2024-08-201-0/+6
* terminal-util: do not query kernel cmdline for pty sizeMike Yuan2024-08-101-1/+4
* crash-handler: Call vhangup on /dev/console before spawning crash shellDaan De Meyer2024-08-071-0/+12
* terminal-util: add recognizable error if cols/rows of tty are initially not i...Lennart Poettering2024-07-191-2/+2
* terminal-util: extend timeout on background color requestLennart Poettering2024-07-191-1/+1
* terminal-util: try to avoid reading more from terminal than we need in get_de...Lennart Poettering2024-07-191-3/+6
* tree-wide: acquire /dev/console lock around any attempts to reset TTYLennart Poettering2024-07-191-0/+14
* terminal-util: teach resolve_dev_console() to deal correctly with /dev/consol...Lennart Poettering2024-07-191-6/+20
* terminal-util: move lock_dev_console() hereLennart Poettering2024-07-191-0/+17
* terminal-util: refactor vt_disallocate()Lennart Poettering2024-07-191-40/+19
* terminal-util: simplify terminal_set_size_fd() a tiny bitLennart Poettering2024-07-191-2/+7
* terminal-util: split out color macros/helpers into its own headerLennart Poettering2024-07-191-0/+1
* terminal-util: remove terminal_vhangup() because apparently unusedLennart Poettering2024-07-191-10/+0
* terminal-util: rename return parameters ret_xyzLennart Poettering2024-07-191-5/+5
* terminal-util: modernize vt_reset_keyboard() a bitLennart Poettering2024-07-191-3/+8
* terminal-util: don't export vt_reset_keyboard() + vt_default_utf8()Lennart Poettering2024-07-191-22/+22
* terminal-util: modernize terminal_reset_ansi_seq() a bitLennart Poettering2024-07-191-2/+2
* terminal-util: don't export terminal_reset_ioctl()/terminal_reset_ansi_seq() ...Lennart Poettering2024-07-191-102/+101
* terminal-util: rename reset_terminal_fd() → terminal_reset_ioctl()Lennart Poettering2024-07-191-3/+3
* terminal-util: remove reset_terminal() as it is unusedLennart Poettering2024-07-191-14/+0
* terminal-util: don't issue "ESC c" sequence on reset, but only when erasing t...Lennart Poettering2024-07-191-3/+3
* terminal-util: add new helper terminal_reset_defensive() that combines reset-...Lennart Poettering2024-07-191-0/+21
* terminal-util: add terminal_is_pty_fd() helperLennart Poettering2024-07-191-0/+29
* terminal-util: unify code that resets /dev/console in common helperLennart Poettering2024-07-191-19/+26
* terminal-util: reset /dev/console via ansi seq also in make_console_stdio()Lennart Poettering2024-07-191-0/+4
* terminal-util: try to initialize rows/cols via ansi sequence in make_console_...Lennart Poettering2024-07-191-4/+5
* terminal-util: add helper that adjust terminal width/height from data acquire...Lennart Poettering2024-07-191-0/+33
* terminal-util: add helper that queries terminal sizes via ANSI sequenceLennart Poettering2024-07-191-0/+230
* terminal-util: rename set_terminal_cursor_position() → terminal_set_cursor_...Lennart Poettering2024-07-191-9/+3
* terminal-util: when querying bg color, ensure input fd and output fd refer to...Lennart Poettering2024-07-191-2/+34
* terminal-util: remember error code from tcsetattr()Lennart Poettering2024-07-191-1/+1
* terminal-util: turn off echo on stdin, not stdoutLennart Poettering2024-07-191-2/+2
* terminal-util: don't process the same data twice when reading back bg color infoLennart Poettering2024-07-191-24/+43
* terminal-util: return correct error in chvt()Lennart Poettering2024-07-191-1/+1
* terminal-util: refuse a few more unexpected open flags in open_terminal()Lennart Poettering2024-07-191-1/+1
* terminal-util: trivial white space fixLennart Poettering2024-07-191-1/+1
* signal-util: use common definitions for ignore + default "struct sigaction"Lennart Poettering2024-07-121-15/+7
* terminal-util: several cleanups for ColorModeYu Watanabe2024-06-241-54/+54
* terminal-util: merge COLOR_ON with COLOR_24BITYu Watanabe2024-06-241-3/+3
* various: move const ptr indicator to return valueZbigniew Jędrzejewski-Szmek2024-06-191-1/+1
* core: Limit terminal reset using ANSI sequences to /dev/consoleDaan De Meyer2024-04-231-21/+32
* terminal-util: Enable line wrapping in reset_terminal_fd()Daan De Meyer2024-04-221-0/+22