389 Commits

Author SHA1 Message Date
mjarkk
1a12390d8c Fixed the second error 2019-05-06 19:42:41 +02:00
mjarkk
1163a688bc Added some extra error checks to solve the first error 2019-05-06 19:36:23 +02:00
Mark Kopenga
49ef258c94
Update to latest master (#2)
Update to latest master

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
2019-05-06 19:26:01 +02:00
Mark Kopenga
b9fc59d21f
Merge Jesseduffield's (#1)
Merge Jesseduffield's

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
2019-05-06 19:25:16 +02:00
Jesse Duffield
bac774b26e add SetViewBeneath function 2019-05-05 18:56:23 +10:00
Jesse Duffield
91337fdcd1
Merge pull request #5 from mjarkk/better-1-line-box-corners
Added `╴` and `╶` to the side of boxes when 1 height
2019-05-05 09:13:32 +10:00
mjarkk
b171f61102 Added ╴ and ╶ to the side of boxes when 1 height 2019-04-27 13:34:05 +02:00
Jesse Duffield
af5a758d6c support views of height 1 or even negative height 2019-04-26 13:40:05 +10:00
Jesse Duffield
1b91467ea2 don't write subtitle outside of view's bounds 2019-04-10 09:57:31 +10:00
Jesse Duffield
f0f0ab442e fix performance issue causing high cpu drain 2019-03-05 21:24:56 +11:00
Jesse Duffield
b502ee11d6 stop polling termbox events after closing the gui 2019-03-03 14:18:04 +11:00
Jesse Duffield
e70eea4359 add loader animations to views with the HasLoader bool set 2019-02-15 20:51:46 +11:00
Jesse Duffield
5d41a21e5c use standard errors when defining package level errors and wrap when percolating up 2019-02-15 20:50:55 +11:00
Jesse Duffield
985c2f8d59 use go-errors package to give stack traces to new errors 2019-02-11 21:59:59 +11:00
Jesse Duffield
cfa9e452ba don't truncate lines on wrapped views 2019-01-15 19:47:58 +11:00
Jesse Duffield
fe55a32c8a convert tab runes to 4 spaces 2018-12-09 21:47:58 +11:00
Jesse Duffield
03e26ff3f1 use LinesHeight instead of ViewLinesHeight 2018-09-21 16:56:32 +10:00
Jesse Duffield
4fca348422 missed a couple of imports that I need to switch to my fork of termbox 2018-09-19 19:58:27 +10:00
Jesse Duffield
ebd66a7ffb Merge branch 'master' of https://github.com/jesseduffield/gocui 2018-09-19 19:40:25 +10:00
Jesse Duffield
37a5843d01 use jesse's fork of termbox which handles poll event errors 2018-09-19 19:40:19 +10:00
Jesse Duffield
32133e9896
Merge pull request #2 from remyabel/master
view.go: add ViewLinesHeight()
2018-09-18 20:34:10 +10:00
Tommy Nguyen
9cfb2a5aad
view.go: add ViewLinesHeight() 2018-09-16 23:28:09 -04:00
Jesse Duffield
2cb6e95bbb support subtitles on panels 2018-09-05 20:40:05 +10:00
Jesse Duffield
c4051ef0fb move cursor directly rather than through function because the old way was causing issues 2018-09-05 19:02:37 +10:00
hidaruma
5d9e836837 merged jesseduffield/gocui 2018-08-25 16:27:06 +09:00
Jesse Duffield
7818a0f933 ignore global rune keybindings on editable views 2018-08-25 09:11:37 +10:00
Jesse Duffield
76a959bb4b enforce that keybindings can only be handled by a single handler, prioritising view handlers over global handlers 2018-08-21 22:46:08 +10:00
Jesse Duffield
432b7f6215 flush the gui before polling for any events 2018-08-14 08:31:18 +10:00
Jesse Duffield
8cecad864f use dimensions method rather than function 2018-08-12 11:49:26 +10:00
Jesse Duffield
b46a743016 make view dimensions accessible 2018-08-12 11:33:36 +10:00
Jesse Duffield
3c923f53ac defining overlapping edge support in the Gui constructor 2018-08-05 22:19:20 +10:00
Jesse Duffield
0ccc6860b1 disable overlapping views for now 2018-08-05 21:58:02 +10:00
Jesse Duffield
a5207ef0d6 revert bolding of box character 2018-08-05 21:45:26 +10:00
Jesse Duffield
b8c5d2cb4c support collapsed edges (WIP) 2018-08-05 21:44:09 +10:00
Jesse Duffield
677cd7d1d5 bold highlighted text 2018-06-05 18:43:49 +10:00
Jesse Duffield
2f3eb04eb0 Ignore char keys when in an editable panel 2018-06-05 18:43:39 +10:00
Jesse Duffield
92551286ea default to input mode of InputEsc 2018-06-05 18:43:28 +10:00
gulyasm
c055c87ae8 adds ViewBufferLines to View v0.4.0 2018-04-11 17:57:51 +02:00
gulyasm
2cda4f9f05 adds BufferLines func to View 2018-04-11 17:57:51 +02:00
Miguel Mota
491cd051cf Add cointop to "Projects using gocui" 2018-04-11 12:23:13 +02:00
gulyasm
f2f6a1fab8 Adds jsonui to projects using gocui 2018-04-11 12:15:48 +02:00
Mike JS. Choi
df0b3dc8df Add fac to list of projects using gocui 2018-04-11 12:08:39 +02:00
Roi Martin
247e437c8e Merge branch 'kcli-readme' of https://github.com/cswank/gocui into cswank-kcli-readme 2018-04-11 12:04:34 +02:00
Roi Martin
1ec4d5dd73
Merge pull request #149 from alitari/master
Add kubexp to "Projects using gocui"
2018-04-11 11:59:40 +02:00
Alexander Krieg
dc8ca8416c
added kubexp to "Projects using gocui" 2018-03-11 18:15:46 +01:00
Craig Swank
25c0c27f2e Add cswank/kcli to README's list of projects using gocui. 2017-12-29 08:16:18 -07:00
Julien Breux
4f518eddb0 Add Pody project to Readme 2017-08-27 21:50:11 +02:00
Roi Martin
eb73455bec Add diagram project to README 2017-08-20 15:22:33 +02:00
Roi Martin
a251da5a9f Minor syntax clean-ups 2017-08-20 00:28:06 +02:00
Roi Martin
70497a1d13 Fix typo 2017-08-20 00:17:11 +02:00