Commit Graph

41 Commits

Author SHA1 Message Date
Roi Martin 3607eb8e1c Implement autoscroll. Fix scroll when View.Wrap is enabled 2015-02-01 22:49:07 +01:00
Roi Martin 98a2fe7a6a Add missing LICENSE header. Fix typo in LICENSE headers 2015-01-31 20:39:43 +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 a67c870eef Fix typos. 2014-11-15 13:50:56 +01:00
Roi Martin f78a0704f1 Minor fixes in Wrap
Print first character of the new line.
Control maxX and maxY to avoid invalid calls to View.SetRune.
Add error handling when calling View.SetRune.
2014-11-15 13:13:19 +01:00
Matthieu Rakotojaona 382efdcc54 Wrap content if too long 2014-11-14 20:52:05 +01:00
Roi Martin 0aed73291b Merge branch 'master' of https://github.com/KayoticSully/gocui into Frame 2014-10-18 15:35:01 +02:00
Ryan Sullivan 8d584203d4 Added Support to toggle View Frames 2014-10-17 17:22:28 -04:00
Roi Martin (@nibble_ds) cbacee3e65 Allow different colors per view 2014-05-03 15:20:46 +02:00
Roi Martin (@nibble_ds) 6b5681b670 Implement View.Read and View.Rewind. Update demo2 2014-05-01 14:32:30 +02:00
Roi Martin (@nibble_ds) 9f2bfa7213 Add View.Buffer() 2014-02-03 02:04:30 +01:00
Roi Martin (@nibble_ds) 7cc82f809e Fix View.Word() 2014-01-23 23:42:52 +01:00
Roi Martin (@nibble_ds) f51a568142 Fix typo in view.go 2014-01-23 23:14:11 +01:00
Roi Martin (@nibble_ds) a5dd7e25de Add functions View.Line() and View.Word() 2014-01-23 23:10:13 +01:00
Roi Martin (@nibble_ds) f9055c514a Fix deleteRune() 2014-01-23 00:46:15 +01:00
Roi Martin (@nibble_ds) 55e61228f1 Return errors in writeRune, deleteRune, addLine 2014-01-22 23:06:29 +01:00
Roi Martin (@nibble_ds) 19e6c59da4 Implement basic edition 2014-01-22 22:37:53 +01:00
Roi Martin (@nibble_ds) b8c11d3134 Optimize bufferPtr (reslice) 2014-01-22 20:42:00 +01:00
Roi Martin (@nibble_ds) 9726137f3b Use rune ' ' for empty cells 2014-01-20 23:28:08 +01:00
Roi Martin (@nibble_ds) 0ae41d5e52 Editable views. Minor fix in Gui.draw()
First implementation of edit mode (overwrite)
Fix error handling in Gui.draw()
2014-01-20 23:03:28 +01:00
Roi Martin (@nibble_ds) 4fb4826188 Fix typo in view.go 2014-01-19 17:44:36 +01:00
Roi Martin (@nibble_ds) 5dc9b75bc3 Add API documentation 2014-01-19 17:03:52 +01:00
Roi Martin (@nibble_ds) db002da861 Refactoring. Split Views internal buffer in lines. 2014-01-18 12:31:53 +01:00
Roi Martin (@nibble_ds) 4112df7d76 Simplify API. Rename getters. 2014-01-16 23:01:53 +01:00
Roi Martin (@nibble_ds) 83687dd884 Clean up API. Show text file in demo2.go 2014-01-16 00:28:16 +01:00
Roi Martin (@nibble_ds) 8a88a69100 Add LICENSE/AUTHORS headers and files 2014-01-14 20:11:12 +01:00
Roi Martin (@nibble_ds) 04a2d598ca Rename variables for clarity 2014-01-13 20:21:49 +01:00
Roi Martin (@nibble_ds) 35b346590c Add scroll support. First approach. 2014-01-13 20:15:39 +01:00
Roi Martin (@nibble_ds) cee092a9f8 Clean up API 2014-01-11 20:29:16 +01:00
Roi Martin (@nibble_ds) 7c70c8be3b Implement View.Clear(). Simplify code. 2014-01-10 12:38:08 +01:00
Roi Martin (@nibble_ds) dba04bf839 Add highlighting 2014-01-09 21:55:23 +01:00
Roi Martin (@nibble_ds) 10769ec99c Implement view's buffer and draw 2014-01-09 20:20:14 +01:00
Roi Martin (@nibble_ds) 82ad9fa4ba Implement View.SetCursor() 2014-01-06 18:36:38 +01:00
Roi Martin (@nibble_ds) 18bc554075 Add Gui.Start callback for initializations. Draw cursor. 2014-01-06 02:21:22 +01:00
Roi Martin (@nibble_ds) 5442177139 Add Gui.Layout callback. Update demos. 2014-01-04 02:50:49 +01:00
Roi Martin (@nibble_ds) 7807de8119 Change resize design. Add demos. 2014-01-02 18:34:58 +01:00
Roi Martin (@nibble_ds) 3bc8ce3866 First implementation of resize() 2013-12-31 21:23:28 +01:00
Roi Martin (@nibble_ds) b70e064f72 More work on drawing intersections 2013-12-30 14:19:22 +01:00
Roi Martin (@nibble_ds) e0a4242e35 First approach for drawing intersections 2013-12-29 21:29:29 +01:00
Roi Martin (@nibble_ds) 81cf9a04eb Don't print edge/corner when point is out of the screen 2013-12-28 18:49:01 +01:00
Roi Martin (@nibble_ds) 58bbbb3d53 Initial commit 2013-12-27 21:36:26 +01:00