Commit Graph
630 Commits
Author SHA1 Message Date
Kovid Goyal 142c883b0c Implement DECCKM 2017-02-05 15:30:16 +05:30
Kovid Goyal 3911f18fd9 Startup in the home directory when launched by launch services 2017-02-02 15:07:13 +05:30
Kovid Goyal 0427f30c2a Improve rendering of italic fonts in linux
Now rather than down-size characters from italic fonts that do not fit
into the cell width, trim the left and right margins to make them fit,
instead.
2017-01-25 20:30:39 +05:30
Kovid Goyal b4bf0eb794 Anti-alias the powerline box characters 2017-01-24 11:00:29 +05:30
Kovid Goyal 8e324649b7 Allow setting bold/italic font variants individually 2017-01-24 09:03:04 +05:30
Kovid Goyal def51f856b Pass all opts to set_font_family
Makes it easier to specialize based on more opts in the future
2017-01-24 08:41:32 +05:30
Kovid Goyal 598c5d313b A better (I hope) cell height calculation on OS X
See #42
2017-01-24 08:01:52 +05:30
Kovid Goyal 9f3d6fe0e9 Fix mouse co-ordinates incorrect on OS X retina
Fixes #43
2017-01-24 07:30:57 +05:30
Kovid Goyal d8545e5c43 Report the window width and height for TIOCSWINSZ
Matches behavior of xterm
2017-01-23 18:41:41 +05:30
Kovid Goyal b1b458e912 When extracting URLs recognize URLs inside delimiters 2017-01-21 19:53:33 +05:30
Kovid Goyal cc14562f2c Forgot the unicode version of APC and PM 2017-01-20 13:40:58 +05:30
Kovid Goyal 0612855c95 Ignore PM and APC control codes 2017-01-20 13:31:05 +05:30
Kovid Goyal a4b092621e Support the private form of the report cursor position escape code 2017-01-20 12:51:15 +05:30
Kovid Goyal df5c225b5a Set window icon on linux 2017-01-18 20:52:06 +05:30
Kovid Goyal 59d5a3ad9b Have the layouts calculate the blank rectangles
Fixes occasional flashing at the edges of windows in the Tall layout
2017-01-18 13:55:51 +05:30
Kovid Goyal a9efe7036c Fix an infinite loop in the UTF-8 decoding code with invalid input 2017-01-18 12:19:29 +05:30
Kovid Goyal 2ed898c142 Merge branch 'master' of https://github.com/iitalics/kittyFork1 2017-01-17 08:22:32 +05:30
iitalics a215ecde66 Made window size caching and initial dimensions configurable 2017-01-16 19:54:45 -05:00
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 f4a6c42b48 Implement CTFace.__repr__ 2017-01-14 10:59:52 +05:30
Kovid Goyal ef4010b575 Fix output of --version and add -v alias 2017-01-14 09:43:52 +05:30
Kovid Goyal 3760d3d719 Also make the postscript name available 2017-01-14 09:32:55 +05:30
Kovid Goyal e34f74fb7a A bit of documentation 2017-01-13 12:36:24 +05:30
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
Kovid Goyal fa15b2d398 Ensure initial viewport size is correct since window size and framebuffer size may not match on high DPI screens 2017-01-13 09:28:29 +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 521fe39e4d Fix starting up with multiple windows causing the active window border to be drawn around the wrong window 2017-01-12 22:36:46 +05:30
Kovid Goyal ac53776ee4 Forgot a few keys in the localizes keys map 2017-01-12 19:59:57 +05:30
Kovid Goyal cb5d6547e5 Add an option to use a modern wcwidth() instead of the system one 2017-01-12 19:28:51 +05:30
Kovid Goyal a8408a1ce4 Fix keyboard shortcuts not being mapped correctly
On systems that remap their keys, for example, to use a DVORAK keyboard layout. Fixes #29
2017-01-12 13:56:56 +05:30
Kovid Goyal dbda7c4fcb ... 2017-01-12 10:22:46 +05:30
Kovid Goyal dedaf6caf7 Fix Ctrl/Alt+key not working on systems with alternate keyboard layouts
Fixes #17
2017-01-12 10:17:21 +05:30
Kovid Goyal 4b28cc755e closerange() in child works on OS X also 2017-01-12 01:07:26 +05:30
Kovid Goyal 268560a1c6 Handle OSes that have no native pipe2()
OS X, sigh.
2017-01-12 01:00:05 +05:30
Kovid Goyal fea0862a35 Do not use GLEW on OS X 2017-01-12 00:50:44 +05:30
Kovid Goyal 063ec7dc02 Fallback implementation for glCopyImageSubData
OS X is missing this function so we fallback to a very slow,
GPU->CPU->GPU roundtrip. Fortunately this is needed only rarely so it
should not have a noticeable performance imapct. Le bubbling sigh!
2017-01-11 23:36:43 +05:30
Kovid Goyal 6b01b9613a Use 8 bit stencil buffers on OS X 2017-01-11 21:07:31 +05:30
Kovid Goyal c3aa26fedf Remove useless call to glfw_init 2017-01-11 20:57:37 +05:30
Kovid Goyal 6c76f292f4 Fix develop() not running from ssh session 2017-01-11 19:43:30 +05:30
Kovid Goyal e9d239ac83 Get rid of the closerange() on exit entirely
Not needed.
2017-01-11 16:51:57 +05:30
Kovid Goyal d3e924a58b One more place closerange() was called 2017-01-11 16:26:53 +05:30
Kovid Goyal 18a1a61ec2 Dont use closerange() on OS X
The original motivation for this was OpenGL problems caused by the glfw
library on linux because of inherited file descriptors. Dont know if
that applies on OS X.
2017-01-11 15:39:10 +05:30
Kovid Goyal 426f960b23 Finish up Core Text based rendering 2017-01-11 14:13:37 +05:30
Kovid Goyal 8e7250eb7a Use undeprecated orientation constant 2017-01-11 12:22:22 +05:30
Kovid Goyal dff91759a2 Refactor the cell rendering code for greater re-use
Also start work on CoreText based rendering
2017-01-11 12:02:28 +05:30
Kovid Goyal 282d6faa5f Scale font size by screen DPI on OS X
There seems to be no way to pass a custom DPI to CoreText
2017-01-11 05:53:55 +05:30
Kovid Goyal edf9e580fe Function to check if the font has a specified character 2017-01-11 03:34:43 +05:30