Commit Graph

234 Commits

Author SHA1 Message Date
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
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
Roi Martin 5f143ef3de Fix typo 2016-08-30 22:15:03 +02:00
Gustavo Bittencourt 873bc2c17d Enable ESCKey binding
Permit the binding of the ESCKey correctly. The default setup is the
same (inputMode := termbox.InputAlt) if user doesn't set the
InputESC value explictly.
2016-08-28 00:29:12 -03:00
Roi Martin aa556cf135 Add example save.go 2016-07-31 16:47:00 +02:00
Roi Martin 41745b2a15 Fix typo in doc 2016-07-20 21:35:02 +02:00
Roi Martin 2dcda558bf Update AUTHORS file 2016-05-23 00:52:20 +02:00
Roi Martin 132f267b70 Fix minor typo 2016-05-23 00:21:03 +02:00
Roi Martin 6f73260433 Update _examples/colors.go with @deweerdt's code from #39 2016-05-23 00:16:59 +02:00
Roi Martin a67a34cd60 Use View's default colors in View.writeRune 2016-05-23 00:16:59 +02:00
Roi Martin 3758266eac Update documentation and README 2016-05-23 00:16:59 +02:00
Roi Martin 1b35b7cd26 escape: remove unnecessary type interpreterReturn 2016-05-23 00:16:59 +02:00
Roi Martin 40dec91023 Initial support for colored text
- View contents are stored as cells (rune + colors) instead of runes.
- Uses the escape interpreter coded by @deweerdt in #39.
2016-05-23 00:16:59 +02:00
Roi Martin 8c49240a03 Remove unreachable code 2016-05-17 22:42:36 +02:00
Roi Martin 0707386452 Fix #50: highlight for wrapped lines 2016-05-17 22:40:24 +02:00
Roi Martin 490199421a Show cursor in _examples/mask.go 2016-04-20 14:35:33 +02:00
Roi Martin 7ffb37ef13 Add example for mask 2016-04-20 14:34:09 +02:00
Danny Tylman 65dfdbf77a Add support for masked views 2016-04-20 14:33:14 +02:00
James Monger 336b3337d1 Update delete.go to dynamic.go in readme 2016-04-19 10:35:13 +01:00
Roi Martin a8eba6db38 Rename _examples/delete.go to _examples/dynamic.go 2016-02-07 17:39:19 +01:00
Roi Martin 248e4f4437 Do not show cursor when it's out of screen 2016-02-07 16:58:15 +01:00
Roi Martin a09a166064 Extend _examples/delete.go to test *Gui.SetViewOnTop 2016-02-07 16:52:31 +01:00
Roi Martin 28abcdb8e4 Support set views on top
- Add method *Gui.SetViewOnTop
- Add example _examples/ontop.go to test this feature
2016-02-07 16:52:31 +01:00
Roi Martin e669e2b30d Add more test cases to _examples/title.go 2016-02-06 15:21:38 +01:00
Roi Martin bb01d13a95 Add view title (based on the implementation of @conejoninja) 2016-02-06 14:50:30 +01:00
Roi Martin c5595daed4 Fix typos in README 2016-02-01 15:39:59 +01:00
Roi Martin 8dea948d50 Minor improvements in README 2016-02-01 15:36:10 +01:00
Roi Martin d0f0fa6008 Minor fixes in doc 2016-02-01 15:08:39 +01:00
Roi Martin 7f83fd5782 Fix typos in doc 2016-01-30 07:50:01 +01:00