We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 706040c commit 621efe8Copy full SHA for 621efe8
select.go
@@ -123,11 +123,15 @@ func (m model) View() string {
123
s := "Which screen do you want to use?\n\n"
124
for i:= 0; i < len(m.displays); i++ {
125
display := m.displays[i]
126
+ current := ""
127
+ if m.displays[i].current {
128
+ current = "(current)"
129
+ }
130
cursor := " "
131
if (m.selected == i) {
132
cursor = "> "
133
}
- s += fmt.Sprintf("%s %s\n", cursor, display.name)
134
+ s += fmt.Sprintf("%s %s %s\n", cursor, display.name, current)
135
136
137
if(m.screen != "") {
0 commit comments