-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for running without a tty (#65)
* abstract printing from pterm for non-tty mode * run without TUI * formatting * update CMD for package to not render TUI * being extraction of tui and loader * Revert "run without TUI" This reverts commit fdbcc55. * remove tui managing loader lifecycle * cleanup * being abstracting out TUI as a watcher * correctly handle sigint and lifecycle * use waitgroups * waitgroups in tui, tui uses loader * waitgroup for tview run, fixup signals in run cmd * cleanup run cmd * cleanup tui watch() * more cleanup * Revert "cleanup tui watch()" This reverts commit 391f359. * comments for tui watch() * remove printer abstraction * code formatting * implement no-tty mode * move noopWatcher to constructor * remove comment
- Loading branch information
Showing
7 changed files
with
217 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.