1806 Commits

Author SHA1 Message Date
Kovid Goyal
836494a8f0 Implement the basic shortcuts for window management 2016-12-03 12:48:37 +05:30
Kovid Goyal
cb4454c562 Implement drag scrolling 2016-12-03 08:56:52 +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
9745b23607 Allow re-adding of a timer while the timer is being executed 2016-12-02 18:10:04 +05:30
Kovid Goyal
067c5f25b8 ... 2016-12-02 17:17:44 +05:30
Kovid Goyal
e7986838d8 Make rendering faster 2016-12-02 17:16:00 +05:30
Kovid Goyal
40928beeb4 ... 2016-12-02 17:04:33 +05:30
Kovid Goyal
c75d7f60cb Speed up draining of the wakeup_fd buffer 2016-12-02 16:56:26 +05:30
Kovid Goyal
7ec41ba7fb Micro-optimization 2016-12-02 16:44:05 +05:30
Kovid Goyal
85bbc2173a Track mouse button state globally instead of per window 2016-12-02 15:50:09 +05:30
Kovid Goyal
c9af8bc0bc Dont call glfw functions from the child thread 2016-12-02 15:46:21 +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
7afbfb8349 Reset scroll when toggling screen buffers 2016-12-02 14:35:38 +05:30
Kovid Goyal
5a068f7578 Do not scroll when using the alternate screen 2016-12-02 14:31:14 +05:30
Kovid Goyal
d3fd0646fb Implement the mouse tracking protocol 2016-12-02 14:23:38 +05:30
Kovid Goyal
991d01bb68 Implement copy to clipboard shortcut 2016-12-01 16:24:24 +05:30
Kovid Goyal
d832561f75 Ignore trailing dots on URLs 2016-12-01 16:18:17 +05:30
Kovid Goyal
38bf1fde3a ... 2016-12-01 16:04:23 +05:30
Kovid Goyal
63f8fd5929 Implement clicking on URLs to open them 2016-12-01 16:03:32 +05:30
Kovid Goyal
a05b64f2fe Method to get line as base text 2016-12-01 15:33:25 +05:30
Kovid Goyal
60c6794f25 Implement cursor blinking 2016-12-01 14:02:08 +05:30
Kovid Goyal
58c3a5b4ac Release GIL when swapping buffers 2016-12-01 12:47:50 +05:30
Kovid Goyal
c9b34e98f9 Auto-hide mouse cursor when unused 2016-12-01 12:44:14 +05:30
Kovid Goyal
02fec34629 ... 2016-12-01 11:31:06 +05:30
Kovid Goyal
7f7d826365 Enable timers for the UI thread as well 2016-12-01 08:31:35 +05:30
Kovid Goyal
fbb787e850 ... 2016-12-01 08:19:49 +05:30
Kovid Goyal
489504cda5 More charset fixes
Properly use the G0/G1 charsets only to map characters being drawn to
the screen. And only decode bytes using either Latin-1 or UTF-8,
defaulting to UTF-8 at startup/reset.
2016-11-30 23:36:10 +05:30
Kovid Goyal
83787fbc40 Add the missing op terminfo code 2016-11-30 22:27:41 +05:30
Kovid Goyal
4b8600d6a5 ... 2016-11-30 22:06:50 +05:30
Kovid Goyal
635ce4dc10 Implement CHT 2016-11-30 21:55:20 +05:30
Kovid Goyal
9e68cc559a Implement CBT 2016-11-30 21:50:54 +05:30
Kovid Goyal
93808cf757 Fix HPA 2016-11-30 21:34:37 +05:30
Kovid Goyal
a388681524 Code to replay dumped commands 2016-11-30 21:21:23 +05:30
Kovid Goyal
b343625b9f Add a simple test for SGR 2016-11-30 21:16:04 +05:30
Kovid Goyal
ce1514963b Various charset related fixes
Fix changing of charset not taking effect immediately while parsing a
single block of bytes

Fix incorrect mapping of C0 control codes in some of the charsets
2016-11-30 19:44:41 +05:30
Kovid Goyal
c713712f89 Restore support for charsets other than UTF-8 2016-11-30 17:48:52 +05:30
Kovid Goyal
7d99fcdfff ... 2016-11-30 17:11:06 +05:30
Kovid Goyal
f36aa19c3f Pull out the dispatching of unicode characters 2016-11-30 16:29:31 +05:30
Kovid Goyal
45a5190a0d Handle CSI codes that start with a ; 2016-11-30 16:03:45 +05:30
Kovid Goyal
a095fffc67 Finish up the margins test 2016-11-30 15:12:00 +05:30
Kovid Goyal
2b39b3a053 Change tests now that we dont report ch number for simple commands 2016-11-30 15:06:17 +05:30
Kovid Goyal
95d3f20832 Do not ignore CUP when y is out of margins, instead clamp to margins 2016-11-30 14:58:34 +05:30
Kovid Goyal
f7ad3120cf Fix handling of NEL 2016-11-30 12:17:09 +05:30
Kovid Goyal
7bf15a0f29 Also save/restore DESCNM state 2016-11-30 11:25:59 +05:30
Kovid Goyal
f71e266764 Implement reverse video and DECSCNM 2016-11-30 11:12:34 +05:30
Kovid Goyal
f0b1af964b Fix clearing of tab stops 2016-11-30 10:21:37 +05:30
Kovid Goyal
eb3bf71ef7 ... 2016-11-30 09:46:33 +05:30
Kovid Goyal
5e8cec0842 DRYer 2016-11-30 09:44:28 +05:30