File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,9 @@ func (b Request) View() string {
177177 }
178178 }
179179 } else if i == 2 {
180- counterSign = ""
180+ if b .call != nil && b .call .Auth != nil {
181+ counterSign = ""
182+ }
181183 } else if i == 3 {
182184 counterSign = ""
183185 }
@@ -189,9 +191,9 @@ func (b Request) View() string {
189191 style = style .Border (border )
190192 tabName := style .Render (t + " " + counter )
191193 renderedTabs = append (renderedTabs , zone .Mark ("tab_" + t , tabName ))
192- tabNames += t + " " + counterSign + " "
194+ tabNames += strings . TrimSpace ( t + " " + counterSign )
193195 }
194- renderedTabs = append (renderedTabs , tabGap .Render (strings .Repeat (" " , b .width - len (tabNames )- 3 )))
196+ renderedTabs = append (renderedTabs , tabGap .Render (strings .Repeat (" " , b .width - len (tabNames )- 21 )))
195197
196198 windowStyle = windowStyle .Height (b .height - 4 )
197199
You can’t perform that action at this time.
0 commit comments