From 8e7535f4585dffdbc1fe4d35f7cfc4f136a37eb8 Mon Sep 17 00:00:00 2001 From: Vladimir Markelov Date: Tue, 3 Nov 2015 10:08:10 -0800 Subject: [PATCH] godoc fixes --- consts.go | 10 +++++----- intro.go | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/consts.go b/consts.go index f4e92f5..3644d4c 100644 --- a/consts.go +++ b/consts.go @@ -73,7 +73,7 @@ type Event struct { // BorderStyle constants const ( - BorderNone = iota + BorderNone BorderStyle = iota BorderSingle BorderDouble ) @@ -101,7 +101,7 @@ const ( // HitResult constants const ( - HitOutside = iota + HitOutside HitResult = iota HitInside HitBorder HitButtonClose @@ -112,7 +112,7 @@ const ( // VeiwButton values - list of buttons available for using in View title const ( // ButtonDefault - no button - ButtonDefault = 0 + ButtonDefault ViewButton = 0 // ButtonClose - button to close View ButtonClose = 1 << 0 // ButtonBottom - move Window to bottom of the View stack @@ -123,7 +123,7 @@ const ( // Alignment constants const ( - AlignLeft = iota + AlignLeft Align = iota AlignRight AlignCenter ) @@ -261,7 +261,7 @@ var ( // SelectDialogType constants const ( // SelectDialogList - all items are displayed in a ListBox - SelectDialogList = iota + SelectDialogList SelectDialogType = iota // SelectDialogList - all items are displayed in a RadioGroup SelectDialogRadio ) diff --git a/intro.go b/intro.go index 21b64c3..f1c7345 100644 --- a/intro.go +++ b/intro.go @@ -18,7 +18,7 @@ application with mouse support easily. Available at this moment controls: * Drag-n-drop with mouse is not supported due to limitations of some terminals. Built-in theme support feature. Change the control look instantly without - restarting the application +restarting the application Predefined hotkeys(hardcoded). One touch combinations: @@ -39,7 +39,7 @@ Sequences: Ctrl+S and Ctrl+P processes only arrows. These commands supports multi-press - while one presses the same arrow after Ctrl+*, he/she does not need to press Ctrl+P or Ctrl+S before pressing each arrow - Ctrl+w allow to: + Ctrl+W allow to: Ctrl+H moves the View to the bottom of View stack and activates a View below the View Ctrl+M maximizes or restores the current View