Commit Graph

14025 Commits

Author SHA1 Message Date
Kovid Goyal
404e074d64 Make DebugStream also execute commands, not just dump them 2016-10-21 00:55:15 +05:30
Kovid Goyal
5bd728fe2f ... 2016-10-21 00:05:50 +05:30
Kovid Goyal
088f6aad25 Fix rendering of cursor 2016-10-20 23:54:32 +05:30
Kovid Goyal
226e333e9e Refactor to make TerminalWidget self contained 2016-10-20 23:40:24 +05:30
Kovid Goyal
5088f9b8e5 Add DECPAM and DECPNM 2016-10-20 21:37:13 +05:30
Kovid Goyal
f9cc8f6584 Implement handling for special keys 2016-10-20 15:25:29 +05:30
Kovid Goyal
e010d13994 Fix Tab key causing entire screen to redraw 2016-10-20 14:54:51 +05:30
Kovid Goyal
01885ae2a3 Reduce the update debounce interval for smoother interactive editing 2016-10-20 14:27:43 +05:30
Kovid Goyal
1e555e91ba ... 2016-10-20 14:22:31 +05:30
Kovid Goyal
dd767bdf91 Tighten up dirty_cells() 2016-10-20 14:21:25 +05:30
Kovid Goyal
ca30bba165 ... 2016-10-20 13:10:00 +05:30
Kovid Goyal
050cf22f24 Only redraw the screen once every 50ms 2016-10-20 13:00:44 +05:30
Kovid Goyal
275161e0da ... 2016-10-20 12:13:29 +05:30
Kovid Goyal
37ac5d4194 Use a rendered text cache for faster painting 2016-10-20 12:00:14 +05:30
Kovid Goyal
efeb2ebdaa Speed up dirty_cells 2016-10-20 11:13:04 +05:30
Kovid Goyal
eaa6c7656a Add an option to dump profiling data 2016-10-20 10:04:59 +05:30
Kovid Goyal
c0a9e75c63 Speed up apply_cursor() 2016-10-20 10:04:05 +05:30
Kovid Goyal
08f1ecc362 Speed up painting of cells by doing the minimum work for empty cells 2016-10-20 09:35:53 +05:30
Kovid Goyal
0c5f41b2b3 timeit() context manager to measure time for executing a block of code 2016-10-20 09:13:33 +05:30
Kovid Goyal
2e2ccbb750 Fix rendering of cursor 2016-10-20 08:40:38 +05:30
Kovid Goyal
176676aadd Wrong argument order for TIOCSWINSZ 2016-10-20 08:18:20 +05:30
Kovid Goyal
4a5795c469 ... 2016-10-20 08:00:00 +05:30
Kovid Goyal
98482c745a Fix index colors 2016-10-20 07:57:03 +05:30
Kovid Goyal
2d9ae7c01f Shutdown cleanly 2016-10-20 07:56:48 +05:30
Kovid Goyal
0e89f3cda1 Ensure linebuf is the correct size on resize 2016-10-20 07:46:57 +05:30
Kovid Goyal
ad3c08e1cb Start work on keyboard handling 2016-10-20 07:35:17 +05:30
Kovid Goyal
37db3c1e01 Fix displaying on unhandled exceptions 2016-10-20 07:34:28 +05:30
Kovid Goyal
5aa718bea4 Implement basic rendering 2016-10-20 06:50:50 +05:30
Kovid Goyal
7103e6f659 Preserve cursor poistion on resize 2016-10-20 06:49:47 +05:30
Kovid Goyal
be5a1e69a8 ... 2016-10-20 06:43:34 +05:30
Kovid Goyal
297fb09e71 Remove unused code 2016-10-20 05:33:14 +05:30
Kovid Goyal
d95383fa43 Dont mark cells the cursor leaves as dirty 2016-10-20 05:29:32 +05:30
Kovid Goyal
c0c466a492 More work on the Screen class 2016-10-20 05:23:47 +05:30
Kovid Goyal
b354e95401 Implement cursor movement APIs 2016-10-19 20:15:07 +05:30
Kovid Goyal
fea7c2dcb0 Implement erase_in_screen() 2016-10-19 13:49:27 +05:30
Kovid Goyal
fd7a6b20e0 ... 2016-10-19 13:49:15 +05:30
Kovid Goyal
bbdfce2141 Micro-optimization 2016-10-19 11:53:14 +05:30
Kovid Goyal
56bff2f4a7 Implement character manipulation APIs 2016-10-19 11:25:55 +05:30
Kovid Goyal
3ae0e4e5ac Add support for unicode combining chars and wide chars 2016-10-18 20:30:18 +05:30
Kovid Goyal
2aa047a09d Merge bordering as well as overlapping cell change ranges 2016-10-18 12:15:14 +05:30
Kovid Goyal
355bfce189 Implement the fast draw path for single width characters 2016-10-18 11:04:30 +05:30
Kovid Goyal
63d228f21b ... 2016-10-18 09:26:54 +05:30
Kovid Goyal
cca33a5550 Ensure terminfo definition is available to child process 2016-10-17 23:12:29 +05:30
Kovid Goyal
3bb429dfa8 Add a terminfo file for kitty
Just now it is simply a copy of the one from termite. Will adjust later,
if needed.
2016-10-17 18:20:08 +05:30
Kovid Goyal
5d7b644000 More convenient API for getting QColors from attrs 2016-10-17 14:26:46 +05:30
Kovid Goyal
ac5a3bb6c7 Store bg and fg colors in a single array 2016-10-17 14:18:15 +05:30
Kovid Goyal
44e8238eaf API to set text in Line efficiently 2016-10-17 13:50:53 +05:30
Kovid Goyal
b02dc836fb Use a regex for faster filtering of uinicode data 2016-10-17 10:41:55 +05:30
Kovid Goyal
f345ac1bdd A function to efficiently check for the common case pure ascii strings 2016-10-17 09:11:10 +05:30
Kovid Goyal
3bc7fc1933 Use lib wcwidth() when Qt not available 2016-10-17 08:54:11 +05:30