427 Commits

Author SHA1 Message Date
Kovid Goyal
7fd15be071 Send the correct escape code for backspace 2016-11-29 12:36:37 +05:30
Kovid Goyal
83940e0fb6 ... 2016-11-29 12:10:15 +05:30
Kovid Goyal
80845dc2da Implement double/triple clicks to select word/line 2016-11-29 12:06:19 +05:30
Kovid Goyal
5ef2c404ce Set primary selection when dragging with mouse 2016-11-29 11:29:39 +05:30
Kovid Goyal
11182b3682 Implement wheel scrolling 2016-11-29 10:00:49 +05:30
Kovid Goyal
5ee4458e04 Do not exit event loop if an unhandled exception occurs in a callback 2016-11-29 09:46:43 +05:30
Kovid Goyal
f4e3fbcb2e Implement rendering of selections 2016-11-29 09:45:14 +05:30
Kovid Goyal
05662efdd9 ... 2016-11-28 22:53:00 +05:30
Kovid Goyal
978ab0c25a Send mouse events to individual windows 2016-11-28 22:43:47 +05:30
Kovid Goyal
3c61147dbb Get it to build on Travis 2016-11-28 20:52:04 +05:30
Kovid Goyal
c288214a4a Use a proper check for glNamedBufferData 2016-11-28 20:49:06 +05:30
Kovid Goyal
ee1d01b262 ... 2016-11-28 20:41:39 +05:30
Kovid Goyal
28c51b11ef Clear noth the front and back buffers on startup 2016-11-28 20:40:47 +05:30
Kovid Goyal
627225def7 Release GIL in a few more places 2016-11-28 20:34:51 +05:30
Kovid Goyal
87eed1d6de Fix error handling in the constructor 2016-11-28 20:32:35 +05:30
Kovid Goyal
9b9ea23451 ... 2016-11-28 20:22:29 +05:30
Kovid Goyal
1e34948b68 oops 2016-11-28 20:18:05 +05:30
Kovid Goyal
72e3fc7292 Move ft error handling include into a func 2016-11-28 20:16:27 +05:30
Kovid Goyal
4482c01c3a Add freetype-dev dependency on travis 2016-11-28 20:10:51 +05:30
Kovid Goyal
cbcc69145c ... 2016-11-28 20:08:51 +05:30
Kovid Goyal
d34db436dd Get rid of the freetype ctypes based bindings 2016-11-28 20:06:42 +05:30
Kovid Goyal
cfca4cd0bf Ensure ctypes data type sizes match GL sizes 2016-11-28 15:17:58 +05:30
Kovid Goyal
b3550391e9 Finish up border rendering implementation 2016-11-28 15:10:15 +05:30
Kovid Goyal
4b7f097c71 Fallback when glNamedBufferData is not available 2016-11-28 13:47:37 +05:30
Kovid Goyal
b1e39dac02 Start work on rendering window borders 2016-11-28 13:38:13 +05:30
Kovid Goyal
655ec36091 Simplify some code 2016-11-28 09:43:51 +05:30
Kovid Goyal
b797dbf5f0 ... 2016-11-26 22:26:05 +05:30
Kovid Goyal
90bc614685 Clear the color buffer on startup 2016-11-26 21:23:30 +05:30
Kovid Goyal
66789f882b ... 2016-11-26 18:08:02 +05:30
Kovid Goyal
b5000c2ec0 Refactor to support multiple windows/tabs 2016-11-26 17:40:28 +05:30
Kovid Goyal
03f7ced17e Release GIL during read() 2016-11-25 10:26:42 +05:30
Kovid Goyal
0ad81ae6fe Also allow all mouse motion tracking mode 2016-11-25 08:38:22 +05:30
Kovid Goyal
5ce6c5fbc9 ... 2016-11-24 21:18:57 +05:30
Kovid Goyal
4f5daa94d0 Clean up the mode handling code 2016-11-24 21:18:04 +05:30
Kovid Goyal
d6782d002b A nicer method name 2016-11-24 20:14:31 +05:30
Kovid Goyal
fc0e785322 Use a different set of tabstops for the alt screen 2016-11-24 19:49:23 +05:30
Kovid Goyal
b628f8e01e Move the default config into its own file 2016-11-24 18:25:26 +05:30
Kovid Goyal
9a0f057012 Fix crash caused by incorrect re-allocation of tabstops on resize 2016-11-24 16:39:47 +05:30
Kovid Goyal
abd09464f0 Implement control code to change colors 2016-11-24 16:28:08 +05:30
Kovid Goyal
3031d41e72 Start work on supporting changing of entries in the color table 2016-11-24 15:28:52 +05:30
Kovid Goyal
c983f002c1 Also silently ignore attempts to change charset to US-ASCII (apparently curses does that a lot) 2016-11-24 13:57:00 +05:30
Kovid Goyal
9e0e757179 ... 2016-11-24 13:48:13 +05:30
Kovid Goyal
41e583842e Flush draw buf at end of each parse call 2016-11-24 13:43:28 +05:30
Kovid Goyal
c82f6aea95 Consolidate consecutive draw calls when dumping 2016-11-24 13:38:24 +05:30
Kovid Goyal
ca7eb5baa9 Add the missing original colors code 2016-11-24 13:22:49 +05:30
Kovid Goyal
27170a481f Define shifted variants for a few common keys 2016-11-24 12:57:37 +05:30
Kovid Goyal
bbea86020a Implement DCS querying of terminfo data 2016-11-24 12:12:19 +05:30
Kovid Goyal
bfeddfa35e Use the terminfo definition to setup keymaps
DRYer
2016-11-24 11:45:26 +05:30
Kovid Goyal
8610bffb40 Make terminfo data available in program 2016-11-24 11:29:28 +05:30
Kovid Goyal
d65caa767a Implement scroll by n lines 2016-11-24 10:36:54 +05:30