Skip to content
Myr

Remove TODO comments

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent c87a8ec · Browse files · 1 file+0 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−7 removed

  • other:+0 added−7 removed

1 file+0 added−7 removed

modified:src/terminal.go-7 removed
1122 unmodified lines
11231124 if opts.GutterRaw != nil {1125 gutterRawChar = *opts.GutterRaw1126 } else if t.unicode && !t.theme.Gutter.Color.IsDefault() {1127 // TODO: Doesn't look too good. Maybe use a different color instead, or both?1127 gutterRawChar = "▖"1128 } else {1129 gutterRawChar = ":"1130 t.gutterRawReverse = false
3681 unmodified lines
4812func (t *Terminal) selectItem(item *Item) bool {4813 if len(t.selected) >= t.multi {4814 return false4815 }4817 // TODO: Should we allow selecting non-matching items?4818 // if t.raw && !t.isItemMatch(item) {4819 // return false4820 // }4816 if _, found := t.selected[item.Index()]; found {4817 return true4818 }4819
1332 unmodified lines
6152 req(reqList)6153 case actAccept:6154 req(reqClose)6155 case actAcceptNonEmpty:6161 // TODO: Allow accepting unmatched items in raw mode?6156 if len(t.selected) > 0 || t.merger.Length() > 0 || !t.reading && t.count == 0 {6157 req(reqClose)6158 }6159 case actAcceptOrPrintQuery:6166 // TODO: Allow accepting unmatched items in raw mode?6160 if len(t.selected) > 0 || t.merger.Length() > 0 {6161 req(reqClose)6162 } else {6163 req(reqPrintQuery)
1063 unmodified lines