Bläddra i källkod

Added some styling to collection issue create widget

arianagiroux 2 veckor sedan
förälder
incheckning
376af91f1e
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      tui.go

+ 3 - 3
tui.go

@@ -505,8 +505,7 @@ func (i Issue) keyhelp() string {
 	return output
 }
 
-// -------- IssueCollection widget definitions --------------------------------
-// ----------------------------------------------------------------------------
+// -------- IssueCollection widget definitions -------------------------------- // ----------------------------------------------------------------------------
 
 type ( // Type definitions for use in tea.Msg life cycle for IssueCollection widget.
 	loadPath              string // thrown when user selects a path to load.
@@ -616,7 +615,8 @@ func (w createInCollection) create() tea.Msg {
 }
 
 func (w createInCollection) render() tea.Msg {
-	return borderStyle.Render(fmt.Sprintf("Creating new issue in %s\ntitle: %s", w.Path, w.input.View()))
+	return borderStyle.Render(fmt.Sprintf("Creating new issue in %s\ntitle: %s",
+		w.Path, w.input.View()))
 }
 
 func (w createInCollection) keyhelp() string { return "enter: submit\t\tctrl+c: quit" }