Commit Graph

19 Commits

Author SHA1 Message Date
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 40dbad569f Introduce GUI managers to replace layout functions 2016-10-24 08:36:23 +02:00
Roi Martin ddbc9be671 Merge *Gui.Init() with *Gui.NewGui() 2016-10-24 02:24:41 +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 463428abda Minor refactoring. Update examples 2016-10-18 00:24:16 +02:00
Roi Martin 4aed924ceb Editor refactoring. Add doc. Simplify _examples. 2016-01-30 02:36:10 +01:00
Roi Martin ea4d0466c4 Rename Gui.ShowCursor to Gui.Cursor for consistency 2016-01-26 09:55:08 +01:00
Roi Martin faa12e105a Full mouse support. Add mouse example. Make golint happy.
- Full mouse support based on hazbo's initial work.
- Add example to show mouse support.
- Fix comments, naming conventions, etc. to make golint happy.
2016-01-23 16:07:42 +01:00
Roi Martin e5bf60e36b Add method View.ViewBuffer 2015-08-16 18:08:34 +02:00
Roi Martin 622e7cbdf9 Initial implementation of the full edition mode 2015-02-23 00:34:41 +01:00
Roi Martin 9b25959056 Optimizations on view redrawing when View.Wrap is enabled.
Refresh internal view buffer only when needed. Do not uses copy's.
2015-02-03 17:09:21 +01:00
Roi Martin 3438be9f43 Minor fix in _examples/demo.go 2015-02-02 01:32:15 +01:00
Roi Martin 98a2fe7a6a Add missing LICENSE header. Fix typo in LICENSE headers 2015-01-31 20:39:43 +01:00
Roi Martin f5cd17c3cc Rename ErrorQuit to Quit 2015-01-30 17:19:11 +01:00
Roi Martin 17f7615184 Handle '\n' and '\r' in View.Write()
Handle '\n' and '\r' in View.Write() so fmt.Print, fmt.Println, etc. work as
expected. This commit closes issue #25.
2015-01-29 16:19:25 +01:00
Roi Martin 45bec2b33c Examples: More simplifications on demo.go 2015-01-24 15:03:03 +01:00
Roi Martin cebc72c201 Add Modifier ModNone. Simplify examples 2015-01-24 14:23:46 +01:00
Roi Martin 9b902f9bec Examples: Rename _demos to _examples 2015-01-24 13:52:02 +01:00