203 Commits

Author SHA1 Message Date
Jesse Duffield
cd05644a8f
Merge pull request #31 from Ryooooooga/fix-data-race 2023-03-11 20:13:20 +11:00
Jesse Duffield
06a1f1e95d add snapshot function for testing 2023-02-19 14:48:34 +11:00
Jesse Duffield
d870d1e1c6 do not set cursor on mouse scroll 2023-02-18 10:26:27 +11:00
Ryooooooga
9bfaed0c35
fix: prevent data race 2023-02-08 09:09:22 +09:00
Ryooooooga
9cdf1743ce
fix: fix subtitle position 2023-01-26 21:56:58 +09:00
Ryooooooga
c0956a0eec
feat: change StartTicking to receive ctx 2023-01-03 23:09:47 +09:00
Ryooooooga
179315ce35
fix: fix goroutine leak 2022-12-02 20:35:27 +09:00
Ryooooooga
16bd199adb
chore: add comment for nil keybindings 2022-10-16 09:01:09 +09:00
Ryooooooga
daeb1d2f0d
feat: allow nil in keybindings 2022-10-15 22:13:27 +09:00
Jesse Duffield
3b1444b7ce add CopyContent function 2022-10-02 20:30:55 -07:00
Jesse Duffield
499f40c329 updates for integration tests 2022-09-15 07:52:56 -07:00
Jesse Duffield
3a3ab26faa support new integration test pattern 2022-08-13 20:10:52 +10:00
Jesse Duffield
dfd3eb22e1 only support one view per context 2022-08-06 13:20:55 +10:00
Ryooooooga
0cd3257281
fix: fix subtitle collision 2022-07-22 20:14:35 +09:00
Jesse Duffield
bce22fd599 hide views with x bounds in the wrong order 2022-04-17 10:29:12 +10:00
Jesse Duffield
5b19e175bc missed another spot 2022-04-16 15:39:10 +10:00
Jesse Duffield
bf2ef335f9 missed a spot 2022-04-16 15:37:52 +10:00
Jesse Duffield
46492ecf92 refactor 2022-04-16 15:34:58 +10:00
Jesse Duffield
ae531166c8 add scrollbar 2022-04-16 15:26:59 +10:00
Jesse Duffield
a826601ada better highlighting logic 2022-04-15 10:02:11 +10:00
Jesse Duffield
69f0c798ee better handling of click events 2022-02-27 13:27:29 +11:00
Jesse Duffield
82fe47ec96 allow deleting all keybindings 2022-01-31 22:09:21 +11:00
Jesse Duffield
e4eee64f4d small changes 2021-11-02 19:15:36 +11:00
Jesse Duffield
24baf341da some changes in anticipation of graph feature 2021-11-01 09:32:53 +11:00
Jesse Duffield
e634aaf073 very small refactor 2021-10-24 15:12:13 +11:00
Ryooooooga
3c5c9299d0
Fix title rendering 2021-10-17 20:42:56 +09:00
Jesse Duffield
aa62b56c15 better handling of random encodings 2021-09-27 19:49:55 +10:00
Jesse Duffield
de7e4a8d6b
Update gui.go 2021-06-14 18:14:32 +10:00
Jesse Duffield
3dfb54636c
Update gui.go 2021-06-14 18:13:54 +10:00
Jesse Duffield
c0280f7b40
Update gui.go 2021-06-14 18:13:49 +10:00
Jesse Duffield
7e094b5393
Update gui.go 2021-06-14 18:13:45 +10:00
Andrei Yangabishev
8a3c45e4fd ShowTotal flag 2021-06-10 12:21:38 +03:00
Jesse Duffield
37f7943420 remove force flushing and instead allow writing to a string to an editor 2021-04-17 21:07:45 +10:00
Jesse Duffield
bdf37de5c9 allow force flushing gui for when we have methods depending on the view (i.e. editors) 2021-04-17 20:52:14 +10:00
Jesse Duffield
ee65bd542c prevent issues from re-rendering views 2021-04-12 21:32:12 +10:00
Jesse Duffield
6ef019af37 handle resizing properly 2021-04-12 21:10:08 +10:00
Jesse Duffield
a2bb4baca3 support suspense 2021-04-10 11:11:17 +10:00
Jesse Duffield
30b8db7085 only taint view if dimensions change when calling SetView 2021-04-09 22:10:01 +10:00
Jesse Duffield
1b0c684140 use float64 for speed of recording playbacks 2021-04-06 16:59:42 +10:00
Jesse Duffield
439abd8b6e support recording events 2021-04-05 14:18:26 +10:00
Jesse Duffield
d958b7dc83 prevent deadlock 2021-04-05 14:18:21 +10:00
Jesse Duffield
9635e8ff4a ignore clicks on invisible views 2021-04-05 14:18:02 +10:00
Jesse Duffield
6fd7ef27ce caching styling to improve drawing speed 2021-04-02 22:32:10 +11:00
Jesse Duffield
ffc8effd27 removing some (hopefully) redundant renders 2021-04-02 22:32:02 +11:00
Jesse Duffield
77056cf8e0 prioritise editor keybindings over other views 2021-02-18 19:37:00 +11:00
Jesse Duffield
c4e374aa77 restore some code from before 2021-02-11 21:25:50 +11:00
Jesse Duffield
66c577279d make screen public 2021-02-09 22:18:48 +11:00
Jesse Duffield
f5a9733d18 awesome WIP
WIP

WIP

WIP

WIP

WIP
2020-12-24 15:19:37 +11:00
Jesse Duffield
cc51e31712 nil check on view 2020-10-07 22:03:50 +11:00
Jesse Duffield
9bcbc07cec support recording sessions for testing purposes 2020-10-04 17:43:59 +11:00