Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 20 lines (16 sloc) 0.666 kB
4c5e6d4 first commit
megaannum authored
1
2 function! forms#example#text#Make()
3 let text = forms#newText({'textlines': [
4 \ "Now is the time",
5 \ "to speak of many things.",
6 \ "Of cabages and kings.",
7 \ ]})
8 let b = forms#newBorder({ 'body': text })
9 let bg = forms#newBackground({ 'body': b} )
10
11 let form = forms#newForm({'body': bg })
12 call form.run()
13 endfunction
14
ee21b40 Better support for both 'light' and 'dard' backgrounds.
megaannum authored
15 function! forms#example#text#MakeTest()
16 call forms#AppendInput({'type': 'Sleep', 'time': 5})
17 call forms#AppendInput({'type': 'Exit'})
18 call forms#example#text#Make()
19 endfunction
Something went wrong with that request. Please try again.