Commit Graph
94 Commits
Author SHA1 Message Date
Kovid Goyal 0365828a5b Remove all python threading related code 2017-09-15 10:45:10 +05:30
Kovid Goyal 6127d2d122 Make the sprite map globally accessible from C code as well as python code
The lock was removed as the Python GIL is sufficient to serialize access
to the SpriteMap structure.
2017-09-15 10:45:10 +05:30
Kovid Goyal d12573a67d Dont send the color table to the GPU on every frame 2017-09-15 10:45:09 +05:30
Kovid Goyal 34f946fd98 Move rendering of selection to GPU 2017-09-15 10:45:09 +05:30
Kovid Goyal a56e1296fd Refactor the tab bar into its own class
Also ensure that Screen APIs are only used in the child thread in the
tab bar
2017-09-15 10:45:09 +05:30
Kovid Goyal db40445572 Do color mapping on the GPU 2017-09-15 10:45:08 +05:30
Kovid Goyal 1d888c9194 Centralise color management into ColorProfile 2017-09-15 10:45:08 +05:30
Kovid Goyal b50eaa9cbb ColorProfile should belong to Screen 2017-09-15 10:45:08 +05:30
Kovid Goyal e0e517d6ec Modify VAO API to allow using multiple buffers 2017-08-23 17:32:46 +05:30
Kovid Goyal 1c56de5605 Change default usage mode to GL_STREAM_DRAW 2017-08-22 18:10:28 +05:30
Kovid Goyal adbce71fb4 Remove unused code 2017-08-22 18:04:40 +05:30
Kovid Goyal 03e0b9de04 Use vertex buffers instead of texture buffers
Apparently, integer samplers for textFetch() are broken on some macOS
Intel drivers. Fixes #101
2017-08-22 12:08:35 +05:30
Kovid Goyal ffd9ec653d Allow programs to be used with multiple vertex array objects 2017-08-22 00:24:45 +05:30
Kovid Goyal 8e27c80e1f A spot of refactoring 2017-08-21 23:26:30 +05:30
Kovid Goyal fe3e51a00d Move the GLSL shaders into their own files 2017-08-21 16:39:34 +05:30
Kovid Goyal 101a50b0ff Do not use GL_ARB_texture_buffer_object_rgb32
This is not available on macOS using Intel graphics cards
2017-08-21 12:46:09 +05:30
Kovid Goyal ebce1d7c61 Fix incorrect handling of escape codes to change default foreground and background colors. Fixes #104 2017-08-04 21:57:22 +05:30
Kovid Goyal 9fdadfabcc DRYer 2017-05-17 09:29:57 +05:30
Kovid Goyal b58ecde740 Track cursor color as a property of Screen not Cursor
This means that the savepoint functionality will not restore
cursor color
2017-05-17 09:27:38 +05:30
Kovid Goyal 3b71a016a6 Fix reset not resetting default foreground and background colors 2017-05-17 09:22:06 +05:30
Kovid Goyal f0c546208d Implement OSC codes for changing selection colors 2017-05-17 08:55:57 +05:30
Kovid Goyal e5799321f8 Simplify cursor color management 2017-05-17 08:10:39 +05:30
Kovid Goyal 6133fd581a Generate X11 RGB color name table from rgb.txt 2017-05-17 07:38:56 +05:30
Kovid Goyal 0c8231d356 Implement OSC codes for changing cursor colors 2017-05-17 07:10:23 +05:30
Kovid Goyal ff966f667c Fix newlines being inserted at wrapping boundaries when copying. Fixes #55 2017-03-10 10:02:22 +05:30
Kovid Goyal a671c7a184 When detecting URLs remove trailing "] and similar 2017-02-11 12:12:02 +05:30
Kovid Goyal 7d2332da21 API to easily invert colors in a window 2017-02-11 08:28:10 +05:30
Kovid Goyal b1b458e912 When extracting URLs recognize URLs inside delimiters 2017-01-21 19:53:33 +05:30
Kovid Goyal 217cc2f40e More robust blink control based on window focus state 2017-01-14 18:01:14 +05:30
Seb Ospina 4a5c149205 cursor empty fill and no blink when not focused
When several kitty terminals are used, the blink happens in all of them
and the cursor appears filled as if active, it is not intuitive which
terminal is actually expecting user input and which one is not.
Terminals such as xfce4-terminal provide a non-blinking non-filled
cursor to show the user the cursor location while at the same time
showing it is not expecting user input (keyboard is active somewhere
else).
2017-01-14 12:01:05 +00:00
Kovid Goyal 3f69327b54 Properly escape the word characters before compiling into a regex 2017-01-13 12:10:51 +05:30
Kovid Goyal 87b9d2a478 Also match unicode alpha-numberic characters when double clicking 2017-01-13 11:45:41 +05:30
firenox89 d7daf73371 make double click selection smarter and configurable 2017-01-12 23:32:39 +01:00
Kovid Goyal 90c18a9227 ... 2017-01-12 23:48:38 +05:30
Kovid Goyal 8a1d70e70d Fix #4 2017-01-07 13:11:48 +05:30
Kovid Goyal af8d44ecab Refactor screen mode API to use get/setters 2017-01-04 10:24:00 +05:30
Kovid Goyal b4af2ff314 The cursor visible (DECTCEM) property should be global, not affected by save/restore of cursor or alternate screens 2017-01-04 10:02:39 +05:30
Kovid Goyal a7fce9353a Fix an off-by-one error when scrolling back 2016-12-10 14:18:27 +05:30
Kovid Goyal 9a7b23fd23 Implement viewing of the scrollback buffer in a separate window 2016-12-10 12:59:20 +05:30
Kovid Goyal 5f04be365f Make the tab bar colors configurable 2016-12-07 08:44:57 +05:30
Kovid Goyal 6bfd6d6dbb Start work on implementing multiple tab management 2016-12-07 08:22:24 +05:30
Kovid Goyal de2c1deb97 More refactoring 2016-12-05 20:52:08 +05:30
Kovid Goyal 319f06931a Fix rendering when multiple windows are visible 2016-12-05 08:28:26 +05:30
Kovid Goyal 836494a8f0 Implement the basic shortcuts for window management 2016-12-03 12:48:37 +05:30
Kovid Goyal 8658b8120d Fix selections that are longer than a single screen not working 2016-12-02 21:35:38 +05:30
Kovid Goyal a424571c75 Dont abort drag if mouse enters window borders 2016-12-02 18:30:11 +05:30
Kovid Goyal 49eb692a03 Fix an off-by-one error for the scroll limit 2016-12-02 18:20:14 +05:30
Kovid Goyal 92401ee4b1 Fix multi-line selection not working if end line column is smaller than start line column 2016-12-02 15:31:03 +05:30
Kovid Goyal d3fd0646fb Implement the mouse tracking protocol 2016-12-02 14:23:38 +05:30
Kovid Goyal d832561f75 Ignore trailing dots on URLs 2016-12-01 16:18:17 +05:30