Commit graph

15 commits

Author SHA1 Message Date
Kovid Goyal
c861259e3b
Rename go module from kitty -> github.com/kovidgoyal/kitty
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
405f5ce148
Use stdlib maps/slices 2024-06-24 07:54:13 +05:30
Kovid Goyal
4af1a38507
More linter fixes 2023-09-24 09:06:15 +05:30
Kovid Goyal
341d845b9a
Port calls to slices.Sort functions since they now need a cmp() function rather than a less() function
Also rename os.SEEK_* to io.Seek* as the former has been deprecated
2023-08-04 22:50:13 +05:30
Kovid Goyal
ca485cc0f7
Make getting function name a utility function 2023-07-30 19:49:46 +05:30
Kovid Goyal
28fbab3476
... 2023-07-24 12:45:01 +05:30
Kovid Goyal
8cab5f881f
More timer dispatch loop cleanups 2023-07-24 12:38:48 +05:30
Kovid Goyal
f4b0183341
Nicer debug output of timers 2023-07-24 12:19:27 +05:30
Kovid Goyal
ce35532aa5
Avoid unnecessary copy and sort of timers 2023-07-24 12:01:00 +05:30
Kovid Goyal
2baff2fccc
Fix timer that does not fire at next loop tick being discarded 2023-07-24 11:54:02 +05:30
Kovid Goyal
66e319d1f5
Simplify code 2023-07-02 08:20:59 +05:30
Kovid Goyal
b28c4054e1
Fix a rare panic in dispatch_timers 2023-07-02 08:14:37 +05:30
Kovid Goyal
67115530b4
Make the loop API a thin wrapper around internal methods 2022-11-14 15:41:55 +05:30
Kovid Goyal
457aab7c41
Simplify timer removal 2022-11-14 15:41:54 +05:30
Kovid Goyal
1b90c03304
Refactor loop code into its own package 2022-11-14 15:41:52 +05:30