Jesse Duffield
|
1b445b9bd5
|
add mutex to views array
|
2020-10-01 06:53:05 +10:00 |
|
Jesse Duffield
|
b998f17238
|
use first global keybinding you come across so that custom keybindings take precedence
|
2020-09-27 11:06:22 +10:00 |
|
Jesse Duffield
|
1b6ec5d7d4
|
missed a spot
|
2020-08-24 20:08:31 +10:00 |
|
Jesse Duffield
|
9ea1e384f7
|
don't set cursor past furthest character on line when clicking modal
|
2020-08-24 19:59:14 +10:00 |
|
Jesse Duffield
|
1a970a28d8
|
ensure view exists before checking if its searching
|
2020-08-23 17:39:38 +10:00 |
|
Jesse Duffield
|
8cde0b9be5
|
support highlighting background of selected item
|
2020-05-13 21:00:02 +10:00 |
|
Jesse Duffield
|
7765949e1c
|
support case insensitive search
|
2020-03-09 11:10:02 +11:00 |
|
Jesse Duffield
|
d6e4854501
|
better handling of bold characters
|
2020-03-01 19:17:00 +11:00 |
|
Jesse Duffield
|
5024a02682
|
add ContainsList view field to show current item index and total count in frame
|
2020-02-25 07:16:55 +11:00 |
|
Jesse Duffield
|
3e1f0f7c3e
|
support searching in views
|
2020-02-23 21:51:15 +11:00 |
|
Jesse Duffield
|
54fcea7731
|
remove mutex from escape code and add mutex to view's draw method
|
2020-02-14 20:07:01 +11:00 |
|
Jesse Duffield
|
57fdcf23ed
|
stop ticker on function return
|
2020-02-01 12:32:58 +11:00 |
|
Jesse Duffield
|
a319843434
|
new version
|
2020-02-01 00:14:54 +11:00 |
|
Jesse Duffield
|
4c9035d347
|
slight refactor
|
2020-02-01 00:12:52 +11:00 |
|
Jesse Duffield
|
f679540a70
|
only animate loaders when you're explicitly told to
|
2020-01-31 23:59:53 +11:00 |
|
Jesse Duffield
|
6c933915c3
|
use mutexes on escape code
|
2020-01-12 13:53:25 +11:00 |
|
Jesse Duffield
|
874f1f64ad
|
safer reading on buffer lines
|
2020-01-12 13:27:28 +11:00 |
|
Jesse Duffield
|
b13bda3195
|
support setting contexts on keybindings
|
2019-11-16 12:39:47 +11:00 |
|
Jesse Duffield
|
01cdcccd05
|
add ModMotion modifier for mouse drag events
|
2019-11-10 16:37:28 +11:00 |
|
Jesse Duffield
|
716e2ea8b7
|
add ability to get selected point within a view
|
2019-11-10 16:37:19 +11:00 |
|
Jesse Duffield
|
3cf1932858
|
swallow some errors that don't really matter
|
2019-10-30 20:47:31 +11:00 |
|
Jesse Duffield
|
092b2290ee
|
swallow invalid point error in SetRune
|
2019-09-08 11:25:10 +10:00 |
|
Jesse Duffield
|
ad0cd60f29
|
add ViewLinesHeight function
|
2019-08-03 12:36:16 +10:00 |
|
Jesse Duffield
|
c5b8f884b6
|
Merge pull request #7 from shanempope/make-build-on-windows
Move non-Windows code behind build tags
|
2019-07-27 12:07:46 +10:00 |
|
Shane Pope
|
452058d7ae
|
Move non-Windows code behind build tags
Moved non-windows code to new non-windows file so it could be compiled on Windows.
|
2019-07-18 00:35:10 -05:00 |
|
Jesse Duffield
|
e625df4894
|
support the whole window size struct so that we don't get a SIGSEGV
|
2019-07-06 10:23:42 +10:00 |
|
Jesse Duffield
|
991d42b891
|
check for window size before initializing termbox
|
2019-07-06 09:52:18 +10:00 |
|
Jesse Duffield
|
68f2ad6e35
|
check for window size
|
2019-07-05 23:21:28 +10:00 |
|
Jesse Duffield
|
08c34c9081
|
another one
|
2019-07-03 21:58:36 +10:00 |
|
Jesse Duffield
|
e3a97494ac
|
just to be sure
|
2019-07-03 21:47:58 +10:00 |
|
Jesse Duffield
|
66cf087c5e
|
testing if go mods works
|
2019-07-03 21:35:48 +10:00 |
|
Jesse Duffield
|
117e4fb79d
|
support tabs and parent views for bubbling up key presses
|
2019-06-29 13:29:23 +10:00 |
|
Jesse Duffield
|
32197598ed
|
support setting tab keybindings
|
2019-06-29 11:26:19 +10:00 |
|
Jesse Duffield
|
d99ac1a5a2
|
extend mouse events to include view frame edges
|
2019-06-29 10:35:26 +10:00 |
|
Jesse Duffield
|
e030e03fac
|
allow ignoring carriage returns on a view
|
2019-06-23 08:12:29 +10:00 |
|
Jesse Duffield
|
619845fffd
|
support tabs on views
|
2019-06-09 12:01:46 +10:00 |
|
Jesse Duffield
|
efab7b041c
|
reset escape interpreter on clear, and clear with a lock
|
2019-06-05 20:07:02 +10:00 |
|
Jesse Duffield
|
625842035f
|
keybindings in simple editor for going to start/end of line and deleting the whole line
|
2019-05-26 12:26:29 +10:00 |
|
Jesse Duffield
|
77d7618000
|
add IsTainted function
|
2019-05-18 20:00:17 +10:00 |
|
Jesse Duffield
|
9f871b6b9d
|
use defer rather than call unlock at end of function
|
2019-05-18 12:49:10 +10:00 |
|
Jesse Duffield
|
3cd3a41702
|
use mutex when writing to views to prevent out of bounds panics
|
2019-05-18 12:44:28 +10:00 |
|
Jesse Duffield
|
66ccf02cc7
|
Merge pull request #6 from mjarkk/fix-to-small-lazygit-panic
Fix lazygit small size panics
|
2019-05-09 21:23:56 +10:00 |
|
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 |
|