File tree Expand file tree Collapse file tree 10 files changed +16
-14
lines changed Expand file tree Collapse file tree 10 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 14
14
. ftr VB CB
15
15
. ftr VBI CBI
16
16
.\}
17
- .TH "tut" "1" "2022-12-31 " "tut 1.0.33 " ""
17
+ .TH "tut" "1" "2023-01-01 " "tut 1.0.34 " ""
18
18
.hy
19
19
.SH NAME
20
20
.PP
Original file line number Diff line number Diff line change 1
- % tut(1) tut 1.0.33
1
+ % tut(1) tut 1.0.34
2
2
% Rasmus Lindroth
3
- % 2022-12-31
3
+ % 2023-01-01
4
4
5
5
# NAME
6
6
tut - a Mastodon TUI
Original file line number Diff line number Diff line change 14
14
. ftr VB CB
15
15
. ftr VBI CBI
16
16
.\}
17
- .TH "tut" "5" "2022-12-31 " "tut 1.0.33 " ""
17
+ .TH "tut" "5" "2023-01-01 " "tut 1.0.34 " ""
18
18
.hy
19
19
.SH NAME
20
20
.PP
Original file line number Diff line number Diff line change 1
- % tut(5) tut 1.0.33
1
+ % tut(5) tut 1.0.34
2
2
% Rasmus Lindroth
3
- % 2022-12-31
3
+ % 2023-01-01
4
4
5
5
# NAME
6
6
tut - configuration for tut(1)
Original file line number Diff line number Diff line change 14
14
. ftr VB CB
15
15
. ftr VBI CBI
16
16
.\}
17
- .TH "tut" "7" "2022-12-31 " "tut 1.0.33 " ""
17
+ .TH "tut" "7" "2023-01-01 " "tut 1.0.34 " ""
18
18
.hy
19
19
.SH NAME
20
20
.PP
Original file line number Diff line number Diff line change 1
- % tut(7) tut 1.0.33
1
+ % tut(7) tut 1.0.34
2
2
% Rasmus Lindroth
3
- % 2022-12-31
3
+ % 2023-01-01
4
4
5
5
# NAME
6
6
tut - keys and commands inside of tut(1)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ require (
12
12
github.com/icza/gox v0.0.0-20221026131554-a08a8cdc726a
13
13
github.com/microcosm-cc/bluemonday v1.0.21
14
14
github.com/pelletier/go-toml/v2 v2.0.6
15
- github.com/rivo/tview v0.0.0-20221229180733-b86a50a5126c
15
+ github.com/rivo/tview v0.0.0-20221221172851-9c04916f4eaa
16
16
github.com/rivo/uniseg v0.4.3
17
17
github.com/spf13/pflag v1.0.5
18
18
golang.org/x/exp v0.0.0-20221230185412-738e83a70c30
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ github.com/pelletier/go-toml/v2 v2.0.6/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha
44
44
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e /go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA =
45
45
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
46
46
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
47
- github.com/rivo/tview v0.0.0-20221229180733-b86a50a5126c h1:Xa0IDAwI/b4D3AQwFOhvOeYB/H0N8Bhhe3XJWSa2vjg =
48
- github.com/rivo/tview v0.0.0-20221229180733-b86a50a5126c /go.mod h1:lBUy/T5kyMudFzWUH/C2moN+NlU5qF505vzOyINXuUQ =
47
+ github.com/rivo/tview v0.0.0-20221221172851-9c04916f4eaa h1:f5OVRPQnaO1dvCS5UdaSLsf+3RFG49UlQAUE/Jfstp0 =
48
+ github.com/rivo/tview v0.0.0-20221221172851-9c04916f4eaa /go.mod h1:lBUy/T5kyMudFzWUH/C2moN+NlU5qF505vzOyINXuUQ =
49
49
github.com/rivo/uniseg v0.2.0 /go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc =
50
50
github.com/rivo/uniseg v0.4.3 h1:utMvzDsuh3suAEnhH0RdHmoPbU648o6CvXxTx4SBMOw =
51
51
github.com/rivo/uniseg v0.4.3 /go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88 =
Original file line number Diff line number Diff line change 8
8
"github.com/rivo/tview"
9
9
)
10
10
11
- const version = "1.0.33 "
11
+ const version = "1.0.34 "
12
12
13
13
func main () {
14
14
util .SetTerminalTitle ("tut" )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func NewCmdBar(tv *TutView) *CmdBar {
19
19
View : NewInputField (tv .tut .Config ),
20
20
}
21
21
c .View .SetAutocompleteFunc (c .Autocomplete )
22
- c .View .SetAutocompletedFunc (c .Autocompleted )
22
+ // c.View.SetAutocompletedFunc(c.Autocompleted)
23
23
c .View .SetDoneFunc (c .DoneFunc )
24
24
25
25
return c
@@ -315,10 +315,12 @@ func (c *CmdBar) Autocomplete(curr string) []string {
315
315
return entries
316
316
}
317
317
318
+ /*
318
319
func (c *CmdBar) Autocompleted(text string, index, source int) bool {
319
320
if source != tview.AutocompletedNavigate {
320
321
c.View.SetText(text)
321
322
}
322
323
323
324
return source == tview.AutocompletedEnter || source == tview.AutocompletedClick
324
325
}
326
+ */
You can’t perform that action at this time.
0 commit comments