From 250bc541104b50454a1e2cc967c7735a5ca54f5a Mon Sep 17 00:00:00 2001 From: Rachel Williams Date: Thu, 27 Aug 2020 10:00:35 -0700 Subject: [PATCH] TUN-3333: Add text to UI explaining how to exit --- cmd/cloudflared/ui/launch_ui.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/cloudflared/ui/launch_ui.go b/cmd/cloudflared/ui/launch_ui.go index 04631e8e..dd27699a 100644 --- a/cmd/cloudflared/ui/launch_ui.go +++ b/cmd/cloudflared/ui/launch_ui.go @@ -97,6 +97,8 @@ func (data *uiModel) LaunchUI(ctx context.Context, logger logger.Service, tunnel logGrid := tview.NewGrid().SetBorders(true).AddItem(logTextView.SetChangedFunc(handleNewText(app, logTextView)), 0, 0, 5, 2, 0, 0, false) // LogFrame holds the Logs header as well as the grid with the textView for streamed logs logFrame := tview.NewFrame(logGrid).AddText("[::b]Logs:[::-]", true, tview.AlignLeft, tcell.ColorWhite).SetBorders(0, 0, 0, 0, 0, 0) + // Footer for log frame + logFrame.AddText("[::d]Use Ctrl+C to exit[::-]", false, tview.AlignRight, tcell.ColorWhite) grid.AddItem(logFrame, 4, 0, 5, 2, 0, 0, false) go func() {