Commit Graph

1474 Commits

Author SHA1 Message Date
Kovid Goyal
6d751b94f6 Start work on displaying font sampler images 2024-06-24 07:54:14 +05:30
Kovid Goyal
852889a561 Implement rendering of sample text 2024-06-24 07:54:14 +05:30
Kovid Goyal
2be91d73dd Move the query_terminal implementation to Go 2024-06-24 07:54:14 +05:30
Kovid Goyal
f0cac79143 Work on rendering sample text for a font 2024-06-24 07:54:14 +05:30
Kovid Goyal
af9f205ec4 Also get the current fg/bg colors to render text with 2024-06-24 07:54:14 +05:30
Kovid Goyal
b6e92dd79d Query font size and DPI from terminal 2024-06-24 07:54:13 +05:30
Kovid Goyal
d826265fd7 Get query terminal working again
Also return current OS Window's font size
2024-06-24 07:54:13 +05:30
Kovid Goyal
8844ae3a10 Report when a family has variable fonts 2024-06-24 07:54:13 +05:30
Kovid Goyal
96f8dbbbeb Get clicking on family names functional 2024-06-24 07:54:13 +05:30
Kovid Goyal
a0bed32614 ... 2024-06-24 07:54:13 +05:30
Kovid Goyal
16d0f4b4ab Wire up the backend 2024-06-24 07:54:13 +05:30
Kovid Goyal
f2d5631c47 Replace list_fonts with choose-fonts kitten 2024-06-24 07:54:13 +05:30
Kovid Goyal
405f5ce148 Use stdlib maps/slices 2024-06-24 07:54:13 +05:30
Kovid Goyal
2bcd47227c Wire up arrow keys for moving in family list 2024-06-24 07:54:12 +05:30
Kovid Goyal
0864c2728d Wire up searching 2024-06-24 07:54:12 +05:30
Kovid Goyal
a6c7744119 ssh kitten: Passthrough when -V is specified
Fixes #7515
2024-06-06 19:52:35 +05:30
Kovid Goyal
f17a5934e2 Fix #7504 2024-06-04 11:02:47 +05:30
Mike Giroux
4aeb32cc4f Trivial "It's"->"Its" fix 2024-05-27 10:44:03 -04:00
Kovid Goyal
5036b9f8a5 Fix failing test in CI 2024-05-22 08:13:59 +05:30
Kovid Goyal
61c5167554 Show stdio output from ssh if getting options fails 2024-05-22 08:05:32 +05:30
Kovid Goyal
512d6bd308 Simplify panel check
We only dont work on macOS. So dont need to check or DISPLAY env vars
since all other display servers are supported.
2024-05-17 19:43:16 +05:30
Harsh Sharma
a00a371b20 Add check for wayland display env for panel kitten
panel kitten previously checked only for DISPLAY env variable,
but a wayland session has WAYLAND_DISPLAY env set.
Due to this wayland sessions without xwayland could not run panel
kitten.
2024-05-17 19:26:43 +05:30
Kovid Goyal
8c1e365eb5 hints kitten: Allow clicking on matched text to select it in addition to typing the hint 2024-05-14 15:22:03 +05:30
Kovid Goyal
4d9b1b81ea Fix #7426 2024-05-13 08:35:17 +05:30
Kovid Goyal
5e125c35d1 hints kitten: Report the pattern used when no matches are found 2024-04-20 05:14:03 +05:30
Kovid Goyal
1317a7c4ac show-key kitten: Show plain text received not associated with a key event 2024-04-05 13:40:41 +05:30
Kovid Goyal
b0d29e7348 Add a note that sway bg covers kitten bg 2024-03-31 12:20:45 +05:30
Kovid Goyal
4b282211de Fix #7276 2024-03-28 18:15:10 +05:30
Kovid Goyal
ede332fecf Use our monotonic everywhere
Gives nicer times relative to process start time than the python stdlib
monotonic
2024-03-26 13:26:18 +05:30
Kovid Goyal
3adf05244d Allow using --debug-rendering with panel kitten 2024-03-25 13:56:35 +05:30
Kovid Goyal
0b6943fb5a ... 2024-03-24 20:48:20 +05:30
Kovid Goyal
333ea519ed Infrastructure to go from panel CLI opts all the way to wayland layer shell implementation 2024-03-24 20:48:20 +05:30
Kovid Goyal
3b74fcb88c switch to a maintained fork of imaging 2024-03-22 10:38:22 +05:30
Kovid Goyal
e11081ac09 Use exiffix rather than imaging to handle EXIF rotation
exiffix works for more formats than just JPEG
2024-03-22 09:35:39 +05:30
Kovid Goyal
0eae7ba21d Remove unused parameter 2024-03-22 09:25:13 +05:30
Kovid Goyal
a3d8be5e2f icat: Nicer error when user specifies invalid screen geometry 2024-03-05 10:49:47 +05:30
Kovid Goyal
c3c99113c7 hints kitten: Use default editor rather than hardcoding vim to open file at specific line
Fixes #7186
2024-03-04 21:49:06 +05:30
Kovid Goyal
05881db492 Remove unused code 2024-02-28 12:15:20 +05:30
Kovid Goyal
b8774327b6 icat kitten: Add a command line argument to override terminal window size detection
Fixes #7165

I had five minutes, so why not.
2024-02-27 23:06:10 +05:30
Kovid Goyal
a5f3142514 hints kitten: The option to set the text color for hints now allows arbitrary colors
Fixes #7150
2024-02-25 10:02:38 +05:30
Kovid Goyal
16d36c46fe Update to using math/rand/v2 2024-02-25 09:57:43 +05:30
Kovid Goyal
7467307200 Add some alignment tests 2024-02-25 09:57:42 +05:30
Kovid Goyal
a32e1aafa6 ... 2024-02-25 09:57:41 +05:30
Kovid Goyal
fa9a2b1e2e Switch file input to use new SIMD parser to search for \n and \r in parallel 2024-02-25 09:57:39 +05:30
Kovid Goyal
86a55e2c0a Use an aligned slice for file reads 2024-02-25 09:57:39 +05:30
Kovid Goyal
c5f0b03a62 Remove not needed function 2024-02-25 09:57:29 +05:30
Kovid Goyal
8f1b30a25b No need to ask for 7bit controls anymore 2024-02-25 09:57:24 +05:30
Kovid Goyal
5f809bf249 Get kitty building with the new VT parser 2024-02-25 09:57:22 +05:30
Kovid Goyal
bc3c9ce2fa Fix #7100 2024-02-05 20:48:49 +05:30
Kovid Goyal
9bea8bb5bc remove no longer needed code 2024-02-05 13:54:22 +05:30