Kovid Goyal
934d21ac30
Wire up a few remaining pieces
2017-11-09 16:55:46 +05:30
Kovid Goyal
79d8c04b00
Hook up render_line
2017-11-09 16:55:45 +05:30
Kovid Goyal
7d7d82a68d
Start working on actually rendering lines of text
2017-11-09 16:55:38 +05:30
Kovid Goyal
3643a78b18
Start work on line based rendering
2017-11-09 16:45:44 +05:30
Kovid Goyal
8431eef970
Get rid of no longer needed GPU function indirection
2017-11-09 16:45:02 +05:30
Kovid Goyal
505ae90fd7
macOS: Add an setting to have the option key not behave as alt
2017-11-08 09:14:19 +05:30
Kovid Goyal
2f5b110c41
Implement an option to have focus follow the mouse
...
Fixes #156
2017-10-24 09:29:28 +05:30
Kovid Goyal
66803e6873
Workaround to get graphics working on Apple's buggy products
...
Apparently some macOS OpenGL drivers cannot handle using a VAO with
attributes that have different divisors/apply to different shaders. So
use a separate VAO for graphics rendering. This is a small performance hit,
but is the price of supporting substandard computers.
2017-10-17 12:15:52 +05:30
Kovid Goyal
6d960e4130
...
2017-10-01 09:12:14 +05:30
Kovid Goyal
3cbc20005b
Implement sending of image data to GPU
2017-10-01 09:04:46 +05:30
Kovid Goyal
710d00674a
Export the free texture function
2017-09-30 13:51:52 +05:30
Kovid Goyal
e52818d54c
Move the screen datatype decls into screen.h
2017-09-30 13:51:47 +05:30
Kovid Goyal
e6cff1e9b6
Fix #130
2017-09-26 09:10:24 +05:30
Kovid Goyal
9cfc19e010
Dont shadow the glfw global mouse state variable
2017-09-25 22:00:00 +05:30
Kovid Goyal
df4df76d24
Switch to using an opaque block cursor
...
The text is rendered in the background color on top of the opaque
block cursor. We use the background color since applications can change
both cursor and background colors, so it is up to the application to
ensure the colors have good contrast. Fix #126
2017-09-17 13:03:02 +05:30
Kovid Goyal
728f33700a
Fine tune the artificial delays in the render loop
...
There are now two numbers, repaint_delay and input_delay
that control how often the screen is repainted and how frequently
input received from the child process is processed.
This halves the CPU usage in intensive cases such as scrolling
a file in less. The CPU usage of kitty + X when scrolling is now
significantly lower than all the other terminals on my system.
MROAWR!
...
2017-09-16 08:20:23 +05:30
Kovid Goyal
c5e989bc94
Move the key handler to C
2017-09-15 21:46:00 +05:30
Kovid Goyal
0423c55dc1
Move a few externs into appropriate header files
2017-09-15 11:56:08 +05:30
Kovid Goyal
9989363ecd
Make the URL highlight color configurable
2017-09-15 10:45:27 +05:30
Kovid Goyal
b9ac13c379
Move the scroll event handler to C
2017-09-15 10:45:26 +05:30
Kovid Goyal
4feaf13556
Implement drag scrolling in C
2017-09-15 10:45:26 +05:30
Kovid Goyal
a27004da35
Port drag select to C
2017-09-15 10:45:26 +05:30
Kovid Goyal
cf6894d74f
Port multi-click handler to C
2017-09-15 10:45:25 +05:30
Kovid Goyal
a921180224
Port middle-click-to-paste to C
2017-09-15 10:45:25 +05:30
Kovid Goyal
745b6222c2
Start work on migrating the mouse handlers to C
2017-09-15 10:45:25 +05:30
Kovid Goyal
6d8b59cb61
Track window and application titles in C
...
Allows removing of the last bit fo python from the render loop
2017-09-15 10:45:24 +05:30
Kovid Goyal
c41ede4d20
Dont use a timer for mouse hiding
2017-09-15 10:45:24 +05:30
Kovid Goyal
13ac050bf8
Move cursor render call to C
2017-09-15 10:45:24 +05:30
Kovid Goyal
6e4b977128
Track application focus state in global state
2017-09-15 10:45:24 +05:30
Kovid Goyal
e6df82b255
Move the char grid render call into C
2017-09-15 10:45:24 +05:30