389 Commits

Author SHA1 Message Date
Jesse Duffield
681a61c53e fix issue with delta trying to finish the current line with the existing colouring 2021-10-24 15:12:48 +11:00
Jesse Duffield
f4cc40fed3 remove dead code 2021-10-24 15:12:23 +11:00
Jesse Duffield
e634aaf073 very small refactor 2021-10-24 15:12:13 +11:00
Jesse Duffield
b8e4f0899f better autoscroll behaviour 2021-10-24 15:11:55 +11:00
Jesse Duffield
b2fc03c74a
Merge pull request #15 from Ryooooooga/feature/fix-title-rendering 2021-10-18 09:00:56 +11:00
Ryooooooga
3c5c9299d0
Fix title rendering 2021-10-17 20:42:56 +09:00
Jesse Duffield
8bf4a4666b more 2021-10-17 20:10:15 +11:00
Jesse Duffield
c74848d8ad reset origin when clearing text area 2021-10-17 17:37:15 +11:00
Jesse Duffield
efd5edf0fa
Merge pull request #12 from waffleboot/#1345_prompt 2021-10-17 15:21:50 +11:00
Jesse Duffield
0ec562dfd2 fix 2021-10-17 15:11:19 +11:00
Jesse Duffield
b68948e63c fix editor problems 2021-10-17 14:52:23 +11:00
Jesse Duffield
aa62b56c15 better handling of random encodings 2021-09-27 19:49:55 +10:00
Andrei Yangabishev
dc3b753f8b prompt sample to reproduce panic 2021-06-16 16:14:11 +03:00
Jesse Duffield
74b42ecad5
Merge pull request #11 from waffleboot/awesome 2021-06-14 18:14:40 +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
de7bb5079f prevent race condition when deleting characters in editor 2021-04-12 23:04:53 +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
210802112d better way to reduce flicker 2021-04-09 22:10:40 +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
95ef6e1377 allow rewinding and flushing stale content 2021-04-06 16:58:11 +10:00
Jesse Duffield
e79dab8f77 remove cache stuff because after measuring it actually decreases performance 2021-04-05 19:37:08 +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
a3be78c4cc wrap cache in mutex 2021-04-03 15:57:16 +11: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
77a1b96317 support alt-enter key 2021-04-02 15:07:18 +11:00
Jesse Duffield
1238f910f0 support mouse wheel scrolling 2021-04-02 14:34:12 +11:00
Jesse Duffield
bcc4dcd991 return if trying to type a character with no width 2021-03-30 00:11:48 +11:00
Jesse Duffield
26d4f4c887 more mutexes 2021-03-30 00:11:48 +11:00
Jesse Duffield
5a8b8cb853 add write mutex to editor 2021-03-30 00:11:48 +11:00
Jesse Duffield
20cddf8f54 missed a spot 2021-02-18 19:38:41 +11:00
Jesse Duffield
77056cf8e0 prioritise editor keybindings over other views 2021-02-18 19:37:00 +11:00
Jesse Duffield
df403d2beb do not create a mouse event on hover 2021-02-11 21:30:34 +11:00
Jesse Duffield
c4e374aa77 restore some code from before 2021-02-11 21:25:50 +11:00
Jesse Duffield
3054df7861 fix wide space typing 2021-02-11 21:03:12 +11:00
Jesse Duffield
99a94bdceb add back tab to mapping 2021-02-09 22:59:41 +11:00
Jesse Duffield
908f90fdc1 support back tab 2021-02-09 22:57:06 +11:00
Jesse Duffield
66c577279d make screen public 2021-02-09 22:18:48 +11:00
Jesse Duffield
287efbd7c0 go mod tidy 2021-02-09 21:59:39 +11:00