Export screen: Don't quit when printing to standard output #2

Closed
opened 2026-11-08 09:35:10 +00:00 by brendan · 0 comments
Owner

When using the TUI's Export screen for cert, key, full chain: the "print to standard output" option prints and quits.

Instead, the Export screen should do the following for the "print to standard output" option:

  1. Suspend the TUI and switch the terminal back to the default scrollback-capable mode.
  2. Print the payload to standard output.
  3. Pause and wait for keyboard input.
  4. Restore the TUI and navigate back to the state from before the Export screen appeared.

Fix the TUI behavior but do not change the CLI behavior for this feature.

When using the TUI's Export screen for cert, key, full chain: the "print to standard output" option prints and quits. Instead, the Export screen should do the following for the "print to standard output" option: 1. Suspend the TUI and switch the terminal back to the default scrollback-capable mode. 2. Print the payload to standard output. 3. Pause and wait for keyboard input. 4. Restore the TUI and navigate back to the state from before the Export screen appeared. Fix the TUI behavior but do not change the CLI behavior for this feature.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
brendan-apps/home-cert-authority#2
No description provided.