Kovid Goyal
1be394cda7
Update CHANGELOG
2018-09-26 19:54:42 +05:30
Kovid Goyal
f292092ffc
...
2018-09-26 19:47:53 +05:30
Kovid Goyal
b82e74f99a
Fix for kitty window not being rendered until moved/resized on macOS Mojave
...
Fixes #887
2018-09-26 19:43:04 +05:30
Kovid Goyal
9b293ad66a
Add some more explanation of why TERM is important
2018-09-24 09:28:21 +05:30
Kovid Goyal
3a4420f2d3
version 0.12.2
v0.12.2
2018-09-24 05:26:11 +05:30
Kovid Goyal
1eb8d6e845
Merge branch 'doc-fix' of https://github.com/nicoulaj/kitty
2018-09-23 08:49:15 +05:30
Julien Nicoulaud
e2f97dc44a
Fix broken links
2018-09-22 20:22:15 +02:00
Kovid Goyal
ea9af96d2b
Fix using focus_follows_mouse causing text selection with the mouse to malfunction when using multiple kitty windows
...
Fixes #1002
2018-09-22 18:15:03 +05:30
Kovid Goyal
e4033d997c
Merge branch 'prev_' of https://github.com/Luflosi/kitty
2018-09-22 17:28:53 +05:30
Luflosi
bc38357193
Add prev_tab and prev_window as aliases for previous_tab and previous_window
2018-09-22 13:24:51 +02:00
Dominique Martinet
618b486fd5
pager history buffer: remove dead code looking for next new line
2018-09-22 19:10:37 +09:00
Dominique Martinet
1986403e42
Add scrollback benchmark
2018-09-22 19:10:37 +09:00
Dominique Martinet
cf51f80b79
cell_as_sgr: avoid unnecessary formatting functions
2018-09-22 19:10:37 +09:00
Dominique Martinet
2fe17aa889
cursor_as_sgr now works on GPUCells becomes cell_as_sgr
2018-09-22 19:10:09 +09:00
Dominique Martinet
f76c8ad30b
pager history buffer: alloc buffer progressively
...
Realloc buffer 1MB at a time until the configured size is reached
2018-09-22 19:10:09 +09:00
Dominique Martinet
c421d3bb59
line_as_ansi: don't reset SGR at start of line
...
less does not carry the mode over from the previous line anyway, let's
save a few bytes for every line
2018-09-22 19:10:09 +09:00
Dominique Martinet
3d862da2be
pager history buffer: implement rewrap
...
rewarp the buffer the first time it is displayed after the window
changed
2018-09-22 19:10:09 +09:00
Dominique Martinet
10b15caad9
tests: add options param to create_screen()
...
Always apply defaults when creating a screen (the C-side global state
default will not have the intended values without this), and provide a
way to override default values with a new optional parameter
2018-09-22 18:05:13 +09:00
Dominique Martinet
e08238d5a0
pager history buffer: add config option, keep buffer on resize
2018-09-22 18:02:11 +09:00
Dominique Martinet
d0104660c8
Implement pager scrollback history buffer
...
For now, use big fixed-size buffer that is lost on resize
2018-09-22 18:02:11 +09:00
Dominique Martinet
a4c2a9ef0d
line_as_ansi: only compute sgr if needed
2018-09-22 18:02:11 +09:00
Dominique Martinet
ee39d7ba14
line_as_ansi: remove dead undefs
...
CHECK_BOOL, CHECK_COLOR and WRITE_COLOR have been removed in
commit 27cd303a056 ("Centralize code to convert to SGR")
2018-09-22 18:02:11 +09:00
Kovid Goyal
62cb035afe
Remote control: Fix the `focus_window` command not focusing the top-level OS window of the specified kitty window
...
Fixes #1003
2018-09-22 12:17:35 +05:30
Kovid Goyal
7a8bc6b5d2
Fix #1001
2018-09-21 12:26:44 +05:30
Kovid Goyal
0d86ac23bb
Merge branch 'ime' of https://github.com/martinetd/kitty
2018-09-21 09:28:56 +05:30
Dominique Martinet
897fd9486e
glfw/ibus input: use text from ime event instead of global
...
When a key is pressed, text is generated from xkb and attached to the
global key_event variable.
If another key is pressed before ibus replies, this text in global
variable would be overwritten before the processed reply comes in and
the wrong character would be input, as shown in logs with
--debug-keyboard:
Press scancode: 0x19 clean_sym: w composed_sym: w text: w mods: numlock glfw_key: 87 (W) xkb_key: 119 (w)
↳ to IBUS: keycode: 0x11 keysym: 0x77 (w) mods: numlock
Press scancode: 0x20 clean_sym: o composed_sym: o text: o mods: numlock glfw_key: 79 (O) xkb_key: 111 (o)
↳ to IBUS: keycode: 0x18 keysym: 0x6f (o) mods: numlockIBUS processed scancode: 0x19 release: 0 handled: 0
From IBUS: scancode: 0x19 name: w is_release: 0
↳ to application: glfw_keycode: 0x57 (W) keysym: 0x77 (w) action: PRESS mods: numlock text: o
on_key_input: glfw key: 87 native_code: 0x77 action: PRESS mods: 0x0 text: 'o' state: 0 sent text to child
IBUS processed scancode: 0x20 release: 0 handled: 0
From IBUS: scancode: 0x20 name: o is_release: 0
↳ to application: glfw_keycode: 0x4f (O) keysym: 0x6f (o) action: PRESS mods: numlock text: o
on_key_input: glfw key: 79 native_code: 0x6f action: PRESS mods: 0x0 text: 'o' state: 0 sent text to child
Since the whole event is memcpy'd we can just use the text from the
event attached to the reply instead.
2018-09-21 07:34:01 +09:00
Kovid Goyal
39d3d093c4
...
2018-09-20 09:10:57 +05:30
Kovid Goyal
3f0b52bef4
Workaround for broken editors like nano that cannot handle newlines in pasted text
...
Fixes #994
2018-09-20 09:08:29 +05:30
Kovid Goyal
4a04f27fde
Fix #991
2018-09-19 19:58:23 +05:30
Kovid Goyal
5fb02c0439
When mapping the new_tab action allow specifying that the tab should open next to the current tab instead of at the end of the tabs list
...
Fixes #979
2018-09-19 19:43:41 +05:30
Kovid Goyal
edfb4ef3f1
Merge branch 'master' of https://github.com/esell/kitty
2018-09-19 18:13:20 +05:30
Kovid Goyal
f037923b00
Document the basic process for creating custom kittens. Fixes #975
2018-09-19 12:55:50 +05:30
Kovid Goyal
424aafb514
Merge branch 'fix_sgr_bold' of https://github.com/martinetd/kitty
2018-09-19 08:07:00 +05:30
Dominique Martinet
1b64167a3e
cursor_as_sgr: fix bold/dim
...
The old code would print "\e[22m" if either bold or dim was unset, which
is the "normal, neither bold nor dim" control sequence.
Print that only if neither are set, and instead print "1" and "2" (bold,
dim) values individually.
2018-09-19 07:04:01 +09:00
esell
a9a86e4604
Add option to enable custom cursor on macos
2018-09-18 10:56:26 -06:00
Kovid Goyal
1dc7c23b2f
Merge branch 'bash_completion' of https://github.com/martinetd/kitty
2018-09-18 06:19:24 +05:30
Dominique Martinet
5bdcfbc2ce
bash completion: make complete helper start with _
...
It is standard to start complete helpers with underscore to avoid
clobbering the function namespace ; like other shells do.
It is ironic for a completion helper to make completion less agreable...
2018-09-18 09:10:47 +09:00
Kovid Goyal
74e9bf4f31
Another sentence worth of documentation
2018-09-17 06:42:20 +05:30
Kovid Goyal
0652529839
Remove dead code
2018-09-12 21:44:59 +05:30
Kovid Goyal
772d6597a9
macOS: Add an option :opt:macos_traditional_fullscreen to make full-screening of kitty windows much faster, but less pretty.
...
See #911
2018-09-12 21:27:49 +05:30
Kovid Goyal
4e99194022
Document platform fullscreen shortcut on macOS
2018-09-12 20:43:22 +05:30
Kovid Goyal
f0ff2f4ea7
Fix a bug causing incorrect line ordering when viewing the scrollback buffer if the scrollback buffer is full
...
Fixes #960
2018-09-12 20:31:09 +05:30
Kovid Goyal
d583c533c2
Linux: Fix window icon not set on X11 for the first OS window
...
Fix #961
2018-09-12 18:29:06 +05:30
Kovid Goyal
ec1f219850
macOS: Make full screening of kitty much faster by using the "traditional full screen" mode of cocoa, similar to iTerm and MacVim
...
Hopefully workaround a bug in glfw that causes crashes when unplugging
monitors with full screen windows.
Fixes #911
Fixes #898
2018-09-12 15:45:08 +05:30
Kovid Goyal
21d586cc86
macOS: Fix resizing semi-transparent windows causing the windows to be invisible during the resize
...
Fixes #941
Workaround for https://github.com/glfw/glfw/issues/1251
2018-09-12 10:44:24 +05:30
Kovid Goyal
8f7139d48f
Also respond to a terminfo query for "name" in addition to "TN"
2018-09-11 21:41:50 +05:30
Kovid Goyal
cfb6dae04d
...
2018-09-11 17:51:06 +05:30
Kovid Goyal
bceac3ee0b
...
2018-09-11 09:58:26 +05:30
Kovid Goyal
38d6edb0ca
Merge branch 'macos-thicken-font' of https://github.com/tbodt/kitty
2018-09-11 09:57:28 +05:30
Kovid Goyal
1b41a3bcee
...
2018-09-11 08:26:31 +05:30