TUI (Terminal User Interface)
TUI Allows you to:
- Review processes status
- Start processes (only completed or disabled)
- Stop processes
- Review logs
- Restart running processes
TUI is the default run mode, but it's possible to disable it:
Control the UI log buffer size:
Using a too large buffer will put more penalty on your CPU.
By default process-compose
uses the standard ANSI colors mode to display logs. However, you can disable it for each process:
Too long log lines (above 2^16 bytes long) can cause the log collector to hang.
Shortcuts Configuration
Default shortcuts can be changed by placing shortcuts.yaml
in your $XDG_CONFIG_HOME/process-compose/
directory.
The default process-compose
configuration is defined as:
# $XDG_CONFIG_HOME/process-compose/shortcuts.yaml
shortcuts:
log_follow: # action name - don't edit
toggle_description: # optional description for toggle buttons. Will use default if not defined
false: Follow Off
true: Follow On
shortcut: F5 # shortcut to be used
log_screen:
toggle_description:
false: Half Screen
true: Full Screen
shortcut: F4
log_wrap:
toggle_description:
false: Wrap Off
true: Wrap On
shortcut: F6
process_restart:
description: Restart # optional description for a button. Will use default if not defined
shortcut: Ctrl-R
process_screen:
toggle_description:
false: Half Screen
true: Full Screen
shortcut: F8
process_start:
description: Start
shortcut: F7
process_stop:
description: Stop
shortcut: F9
quit:
description: Quit
shortcut: F10
shortcuts.yaml
can contain only the values you wish to change, default values will be used for the rest.
For example if you want to replace the default quit
shortcut to be F3
instead of F10
and rename the process_stop
to be Terminate
, the configurion will be as follows: