Kovid Goyal
61157e8763
Remove the passing of swap_interval as a constructor parameter
...
It was unused and makes it more complicated to override via an option,
if needed.
2018-02-11 11:14:48 +05:30
Kovid Goyal
f97d078f81
Fix kitty saving incorrect window heights
...
Typo caused saved window height to be actually the window width
2018-02-10 10:00:54 +05:30
Kovid Goyal
a14cf81422
Store cached window sizes in the cache dir rather than the config dir
...
A side-effect is that on the very next start kitty wont remember window
sizes, apologies for the on convenience.
2018-02-10 10:00:47 +05:30
Kovid Goyal
feeba9b5f5
Add a note about where kitty @ messaging works
2018-02-10 07:35:36 +05:30
Kovid Goyal
b1b76ca250
Redraw windows when the window manager tells us they have been damaged
...
Needed on systems with non-compositing window managers. Fix #317
2018-02-10 06:54:30 +05:30
Kovid Goyal
e119ed0daa
Ignore harmless KeyError while modifying selectors
2018-02-09 20:20:18 +05:30
Kovid Goyal
8c18486836
Module with all the data for unicode entry by character name
2018-02-09 19:56:25 +05:30
Kovid Goyal
b6ed3951bc
Add the kittens dir when building the package
2018-02-09 16:59:15 +05:30
Kovid Goyal
ea178ea689
Forgot to marcj launcher script executable
2018-02-09 16:48:04 +05:30
Kovid Goyal
973bbf3f8a
Fix #316
2018-02-09 16:44:52 +05:30
Kovid Goyal
3068846d8f
Implement using Ctrl+Shift+u to input unicode
...
Fixes #302
2018-02-08 22:47:17 +05:30
Kovid Goyal
194454715f
Basic unicode input works
2018-02-08 22:16:39 +05:30
Kovid Goyal
ac02e053ee
Dont save/restore DECCOLM since it is actually unused in kitty
2018-02-08 22:12:51 +05:30
Kovid Goyal
75db360929
...
2018-02-08 12:57:57 +05:30
Kovid Goyal
f9141120aa
A few fixes for the extended key protocol
2018-02-08 12:57:16 +05:30
Kovid Goyal
d19f9e5b96
Fix error handling in tui.loop
2018-02-08 12:33:27 +05:30
Kovid Goyal
213a223861
Typo in incremental decoder init
2018-02-08 11:56:34 +05:30
Kovid Goyal
ef9a24932f
Start work on unicode input kitten
2018-02-08 11:00:57 +05:30
Kovid Goyal
bf5b0070c1
Add note about terminfo property used for styled underlines
2018-02-08 10:29:37 +05:30
Kovid Goyal
2ab6f57159
Add non-standard terminfo capabilities
...
Advertises support for truecolor and styled underlines.
The truecolor properties are used by at least tmux and neovim.
2018-02-08 10:26:13 +05:30
Kovid Goyal
77d46630d7
Update bundled glfw
2018-02-08 09:15:40 +05:30
Kovid Goyal
b78612aebd
Entry point to run python on cmd line and from scripts
2018-02-08 09:11:13 +05:30
Kovid Goyal
0f63d1bfa7
...
2018-02-07 22:41:03 +05:30
Kovid Goyal
66a897cc80
Add interrupt and eot callbacks
2018-02-07 19:46:53 +05:30
Kovid Goyal
3828511051
forgot to include in last commit
2018-02-07 14:40:23 +05:30
Kovid Goyal
226a89c184
Add JSON definition of key encoding
2018-02-07 14:39:11 +05:30
Kovid Goyal
e3b4919c17
Finish up tui.Loop
2018-02-07 13:30:34 +05:30
Kovid Goyal
168bc58635
The kittens learn about mice
2018-02-07 12:40:04 +05:30
Kovid Goyal
f4f0b8fd5f
Kittens learn about bracketed paste
2018-02-07 10:39:05 +05:30
Kovid Goyal
13c034c613
Add link to ncurses FAQ on bce as well
2018-02-07 08:06:24 +05:30
Kovid Goyal
35f1658f4a
Key and text handler for the kittens
2018-02-06 20:58:46 +05:30
Kovid Goyal
328f22adab
Let update_cell_emtrics() know if it is being called in response to a DPI change
2018-02-06 20:12:57 +05:30
Kovid Goyal
22cf67b407
More work on tui.loop
2018-02-06 20:08:28 +05:30
Kovid Goyal
0c7d51dd9d
Avoid unnecessary draw calls with multiple OS Windows
...
Do not ask the GPU to draw and swap buffers for OS Windows that are not
dirtied. See #313
2018-02-06 19:32:24 +05:30
Kovid Goyal
fa87ce72a8
A terminal input parse helper for the kittens
2018-02-06 17:29:05 +05:30
Kovid Goyal
ff2e5b3966
Avoid unnecessary calls to mark_for_codepoint
2018-02-06 11:23:39 +05:30
Kovid Goyal
96c93fa252
Add support for emoji presentation when choosing fallback fonts
2018-02-06 11:11:22 +05:30
Kovid Goyal
e830b7edf7
Add emoji presentation variation selector support to wcswidth() as well
2018-02-06 10:16:23 +05:30
Kovid Goyal
9c874f6685
Add support for the unicode emoji presentation variation selector
2018-02-06 09:52:55 +05:30
Kovid Goyal
b8ab15bea8
Fix incorrect window border drawing for overlay windows
2018-02-06 09:41:19 +05:30
Kovid Goyal
6c7247f726
Disable display_scrollback for overlay windows
2018-02-06 09:36:36 +05:30
Kovid Goyal
7674aa4e7c
Add FAQ entry about bce in vim
2018-02-06 08:55:42 +05:30
Kovid Goyal
ebe97bf492
Get rid of safe_wcwidth
...
Since wcwidth is now in our control, we dont need to wrap it.
2018-02-05 10:11:30 +05:30
Kovid Goyal
fbe4d036d8
Have wcwidth() return 0 for marks instead of -1
...
Since kitty always treats marks as combinig chars, this allows us to
remove a few unnecessary branches
2018-02-05 10:06:05 +05:30
Kovid Goyal
c572b8bb1a
Refactor screen_draw()
...
Make it a little faster and also clearer, splitting out
the logic for combining chars into a separate function.
2018-02-05 09:55:17 +05:30
Kovid Goyal
59a5e23466
Almost always resize glyphs that are too wide
...
When using FreeType, rescale glyphs that dont fit if they are more than
1px wider than the cell rather than 25% of the cell width. This matches
the behavior of CoreText and is needed for rendering the various Emoji
with default text presentation (i.e. emoji that have wcwidth() == 1)
2018-02-05 09:21:14 +05:30
Kovid Goyal
b9857f9499
Only consider emoji characters with emoji presentation to have width two
...
Fixes #308
2018-02-05 09:21:13 +05:30
Kovid Goyal
b667e3a577
DRYer
2018-02-05 09:19:12 +05:30
Kovid Goyal
240b1475c7
Fix regression that caused a few ligatures to not render correctly in rare circumstances
...
This was caused by cache corruption. is_special_glyph() and
is_empty_glyph() were treading over each other if called in
the right sequence. Fixes #303
2018-02-05 00:04:05 +05:30
Kovid Goyal
3f24e5b571
A few more places to remove wcwidth from
2018-02-04 22:47:02 +05:30