Commit Graph

234 Commits

Author SHA1 Message Date
Roi Martin ad91aa2b83 Refactoring of *View.writeRune 2017-08-18 09:21:00 +02:00
Roi Martin 2677ad0445 Fix trailing \x00 bug in edition mode 2017-08-18 01:00:47 +02:00
Roi Martin c64aff6dc2 Add claws project to README 2017-08-17 00:04:36 +02:00
Roi Martin 7ba3ea9d2c Use ColorDefault as default bg and fg color 2017-08-16 19:28:26 +02:00
Roi Martin 7e8dafc560 Remove empty line 2017-08-16 00:58:08 +02:00
Roi Martin e18bedd405 Add _examples/size.go 2017-08-15 22:37:31 +02:00
Roi Martin 70a276872a Add gotime project in README 2017-08-15 21:52:03 +02:00
Roi Martin 0f8c8e3c9e Remove unneeded parentheses 2017-08-15 21:13:34 +02:00
Roman Lisagor d1b6db5a49 Bug fix: `v.MoveCursor` with dx < -1 or dx > 1 does not work if origin needs to be adjusted
The existing logic moves the origin by 1 in either direction. The new logic
adjusts the origin by the appropriate amount, and moves the cursor to the
beginning or end of the line.
2017-08-15 21:11:04 +02:00
telecoda 4316bb79d4 Check for collisions in reverse view order 2017-08-15 20:52:01 +02:00
Roi Martin c48e902a26 Update dynamic.go to add SetViewOnBottom 2017-08-15 20:34:30 +02:00
Roi Martin a984617410 Simplify SetViewOnBottom 2017-08-15 20:34:06 +02:00
Julien Breux 93acb816a8 Add set view on bottom feature 2017-08-15 20:19:15 +02:00
Roi Martin 612b0b2987 Update README 2017-03-07 08:52:14 +01:00
Roi Martin 5424b93b3b Add httplab and domainr to README 2017-03-07 08:45:14 +01:00
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