211 Commits

Author SHA1 Message Date
Roi Martin
78f1aee25c Set viewLines to nil on *View.Clear() 2016-11-14 21:56:17 +01:00
Roi Martin
1ad1e27a52 Minor fixes in escapeInterpreter 2016-11-14 21:50:15 +01:00
Roi Martin
aacdc2698f Rewind on *View.Clear() 2016-11-14 01:12:37 +01:00
Roi Martin
ba396278de Update README 2016-11-13 21:44:48 +01:00
Roi Martin
fced1c672f Update docs 2016-11-13 21:42:03 +01:00
Roi Martin
f95667af1a Fix typo in doc 2016-11-13 21:40:01 +01:00
Roi Martin
64e8d44eee Fix typo in doc 2016-11-13 21:35:54 +01:00
Roi Martin
6b3dc12c32 Update AUTHORS 2016-11-13 20:46:12 +01:00
Roi Martin
adef0057a9 Add more tests to _examples/colors256.go 2016-11-13 20:46:02 +01:00
Roi Martin
56a1633c76 Minor style changes 2016-11-13 20:45:04 +01:00
Dustin Willis Webber
ff841413b6
256 OutputMode support 2016-11-13 14:06:04 -05:00
Roi Martin
0975ddb2a8 SetManager and SetManagerFunc delete keybindings 2016-10-30 13:20:05 +01:00
Roi Martin
e41f0e8947 _examples/flow_layout.go: refactoring 2016-10-27 23:13:45 +02:00
Roi Martin
308833a2cf Add *Gui.Views(). Add flow layout example 2016-10-27 23:09:13 +02:00
Roi Martin
aa4ac778d3 Move Editor into View. Update docs 2016-10-27 00:43:28 +02:00
Roi Martin
717fd3eaae _examples/active.go: minor fixes 2016-10-27 00:41:50 +02:00
Roi Martin
19125a0a67 Do not edit the view if a keybinding matches the event 2016-10-26 23:22:51 +02:00
Roi Martin
357a541add Update doc and README 2016-10-25 11:41:17 +02:00
Roi Martin
fb08594c69 _examples/widgets.go: Minor changes 2016-10-24 23:34:32 +02:00
Roi Martin
6a590932dd _examples/widgets.go: Improve help message 2016-10-24 19:33:15 +02:00
Roi Martin
89ecdb537d _examples/widgets.go: Minor refactoring 2016-10-24 16:00:18 +02:00
Roi Martin
e5517b913e Minor change in _examples/widgets.go 2016-10-24 15:45:34 +02:00
Roi Martin
df63f19bd6 Add example "widgets.go" 2016-10-24 15:34:14 +02:00
Roi Martin
e38ba07224 Minor refactoring. Avoid shadow vars. 2016-10-24 08:50:51 +02:00
Roi Martin
40dbad569f Introduce GUI managers to replace layout functions 2016-10-24 08:36:23 +02:00
Roi Martin
fc121d98fd Update docs 2016-10-24 07:26:59 +02:00
Roi Martin
ddbc9be671 Merge *Gui.Init() with *Gui.NewGui() 2016-10-24 02:24:41 +02:00
Roi Martin
550f04e523 Simplify how frames are drawn 2016-10-19 00:15:47 +02:00
Roi Martin
d5cb1ac216 Minor fixes in doc 2016-10-19 00:12:01 +02:00
Roi Martin
a7019c8547 Add *Gui.Highlight to enable/disable current view's custom color 2016-10-18 23:30:43 +02:00
Roi Martin
c0ae071931 Use *Gui.{SelFgColor,SelBgColor} to set current view's color
- Use *Gui.{FgColor,BgColor} to set GUI's color.
- Use *Gui.{SelFgColor,SelBgColor} to set current view's color.
- Drop *Gui.ActiveColor and *View.ActiveColor.
2016-10-18 22:49:31 +02:00
Roi Martin
16db12db96 Update AUTHORS 2016-10-18 00:56:53 +02:00
Roi Martin
a109a3641c Use ActiveColor in dynamic.go. Fix bug in active.go 2016-10-18 00:36:26 +02:00
Roi Martin
463428abda Minor refactoring. Update examples 2016-10-18 00:24:16 +02:00
Henri Koski
7779534f95 Add attribute ActiveColor to configure the color of the current view 2016-10-17 23:25:56 +02:00
Roi Martin
ec14132e67 Rearrange screenshots 2016-10-16 18:54:00 +02:00
Roi Martin
1724fbebc8 Update README with projects using gocui and more screenshots
Related to issue #61.
2016-10-16 18:30:11 +02:00
Roi Martin
4e9ce9a8e2 Revert changes in *View.MoveCursor v0.3.0 2016-10-11 10:18:38 +02:00
Roi Martin
d822523f8c Make golint happy. Fix typo. 2016-10-11 08:52:03 +02:00
Roi Martin
cea263b118 Remove unnecessary error in onKey() 2016-10-11 08:41:22 +02:00
Roi Martin
10d2bb60ea Fix mouse mode 2016-10-11 08:34:27 +02:00
Roi Martin
76554e4f84 Execute keybind handlers before edition
Fix issue #54
2016-10-11 08:27:26 +02:00
Roi Martin
8d16527c1d Fix edition mode when Editable = true
Fix issue #53
2016-10-11 07:37:42 +02:00
Roi Martin
6314568953 Fix frames drawing.
Fix issue #57
2016-10-04 00:10:07 +02:00
Roi Martin
2e62b6ba19 Respect view's default background and foreground colors
Fix issue #58
2016-10-03 19:38:40 +02:00
Roi Martin
375270bca0 Replace "godoc" by "go doc" in README 2016-10-03 11:15:42 +02:00
Roi Martin
13f0442ee4 Minor style changes 2016-10-03 11:10:50 +02:00
govlas
f1f9c0fa53 Add *Gui.DeleteKeybindings
*Gui.DeleteKeybindings Deletes all keybindings of view
2016-10-03 11:03:11 +02:00
Roi Martin
30f7d65597 Refactoring 2016-08-30 23:29:55 +02:00
Roi Martin
2a0623774f Add *Gui.DeleteKeybinding 2016-08-30 23:10:07 +02:00