mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
terminal: add systemd-subterm example
The systemd-subterm example is a stacked terminal that shows how to use sd-term. Instead of rendering images and displaying it via X11/etc., it uses its parent terminal to display the page (terminal-emulator inside a terminal-emulator) (like GNU-screen and friends do). This is only for testing and not installed system-wide!
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -107,6 +107,7 @@
|
||||
/systemd-shutdownd
|
||||
/systemd-sleep
|
||||
/systemd-socket-proxyd
|
||||
/systemd-subterm
|
||||
/systemd-sysctl
|
||||
/systemd-system-update-generator
|
||||
/systemd-sysusers
|
||||
|
||||
11
Makefile.am
11
Makefile.am
@@ -2849,6 +2849,17 @@ libsystemd_terminal_la_LIBADD = \
|
||||
libsystemd-internal.la \
|
||||
libsystemd-shared.la
|
||||
|
||||
noinst_PROGRAMS += \
|
||||
systemd-subterm
|
||||
|
||||
systemd_subterm_SOURCES = \
|
||||
src/libsystemd-terminal/subterm.c
|
||||
|
||||
systemd_subterm_LDADD = \
|
||||
libsystemd-terminal.la \
|
||||
libsystemd-internal.la \
|
||||
libsystemd-shared.la
|
||||
|
||||
test_term_page_SOURCES = \
|
||||
src/libsystemd-terminal/test-term-page.c
|
||||
|
||||
|
||||
991
src/libsystemd-terminal/subterm.c
Normal file
991
src/libsystemd-terminal/subterm.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user