Roi Martin
ed41d1bd2c
Fix error handling in *escapeInterpreter.parseOne()
2017-02-12 15:50:38 +01:00
Roi Martin
139487f578
Remove unneeded check in *escapeInterpreter.parseOne()
2017-02-12 15:40:49 +01:00
Niels Widger
e27f247a3e
Support zero parameteter 'CSI n m' in parseOne
...
According to https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes ,
a zero-parameter 'CSI n m' code (for setting SGR parameters) should be
treated as the same as 'CSI 0 m'. This PR changes
escapeInterpreter.parseOne to support this shorthand.
2017-02-12 14:56:43 +01:00
Roi Martin
88d2b471d4
Rename *Gui.Ascii to *Gui.ASCII
2017-02-11 02:06:03 +01:00
Roi Martin
cfc4e0298f
Add *Gui.Ascii to enable ASCII line art
2017-02-10 23:17:26 +01:00
Roi Martin
aff177f6e3
Add wuzz as project using gocui
2017-02-10 22:59:00 +01:00
Harmen
c690b943b6
_examples/goroutine.go: simpler shutdown logic
2017-02-06 00:30:29 +01:00
Dustin Willis Webber
7ac95c981b
Add MouseRelease, MouseUp and MouseDown
2016-11-24 16:23:44 -05:00
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
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