Commit Graph

8572 Commits

Author SHA1 Message Date
Nicholas Marriott
3ed5aa3e72 Build array of codes, stop using ncurses global variables and push ncurses crap into tty-term.c. 2009-01-09 23:57:42 +00:00
Nicholas Marriott
e134458754 Handle arrow key variants. 2009-01-09 16:47:06 +00:00
Nicholas Marriott
ed1031b358 Update key handling code. Simplify, support ctrl properly and add a new window option (xterm-keys) to output xterm key codes including ctrl and, if available, alt and shift. 2009-01-09 16:45:58 +00:00
Nicholas Marriott
622d4def22 Give up the farce of caring about any keys aside from the ones in the screen termcap and the ones termcap doesn't handle that we hardcode manually. 2009-01-08 22:28:02 +00:00
Nicholas Marriott
678dffa840 Utility files. 2009-01-08 22:02:25 +00:00
Nicholas Marriott
a9f0418255 Update CHANGES. 2009-01-08 21:59:24 +00:00
Nicholas Marriott
cd8f85c2bd When I wrote this I somehow forgot that the cursor could helpfully sit at sx
(one character off the right of the screen), so there are several out-of-bounds issues. Add some additional checking.
2009-01-08 21:55:12 +00:00
Nicholas Marriott
10c4a6dc33 Don't die when out of bounds if non-DEBUG. Stops people hitting me when bugs kill their long-running sessions in release versions. 2009-01-08 21:52:05 +00:00
Nicholas Marriott
4ebb85aae8 Don't return NULL when retrieving a string that is too long. 2009-01-08 21:22:01 +00:00
Nicholas Marriott
ed5e8c4cd9 Tidy, +. 2009-01-08 19:59:37 +00:00
Nicholas Marriott
481465d34c -. 2009-01-08 19:10:10 +00:00
Nicholas Marriott
45738b2a85 Tweak. 2009-01-07 23:09:51 +00:00
Nicholas Marriott
58be8b38a7 More man page updates from Tiago Cunha. 2009-01-07 23:07:42 +00:00
Nicholas Marriott
d531dbb53a Minor tidying; remove some old debugging messages. 2009-01-07 22:57:03 +00:00
Nicholas Marriott
4846ad1657 Introduce nitems() and use it; use bsearch. 2009-01-07 22:52:33 +00:00
Nicholas Marriott
4924d8e1e2 +comment. 2009-01-07 22:29:33 +00:00
Nicholas Marriott
a3e3051742 Whoops. New stuff goes at the top. Doh! 2009-01-07 20:15:20 +00:00
Nicholas Marriott
c980360cb5 +. 2009-01-07 20:11:51 +00:00
Nicholas Marriott
51a3a93731 Update TODO. 2009-01-07 20:09:10 +00:00
Nicholas Marriott
18312fa6fd Some options tidying/code shrinkage. Also add -u option to unset non-global options (allowing them to inherit), and some extra info. 2009-01-07 19:53:17 +00:00
Nicholas Marriott
51ca51e329 Buffers should be numbered from zero, from Tiago Cunha. Also fix paste -b. 2009-01-07 19:52:36 +00:00
Nicholas Marriott
8810fc158c Updates from Tiago Cunha. 2009-01-07 18:54:18 +00:00
Nicholas Marriott
a450b22e92 Memory leak fix from Tiago Cunha. 2009-01-07 08:10:02 +00:00
Nicholas Marriott
0314e767e1 Stray debug message. 2009-01-06 18:33:32 +00:00
Nicholas Marriott
4817468e92 +TODO +CHANGES. 2009-01-06 18:24:37 +00:00
Nicholas Marriott
d7e0ea5cc6 Don't die when backspacing off the edge of the screen, reported by David Chisnall.. 2009-01-06 18:07:57 +00:00
Nicholas Marriott
4af8db90e8 Complete option names as well. 2009-01-06 17:04:56 +00:00
Nicholas Marriott
9cddd796ff Prompt history. 2009-01-06 15:37:15 +00:00
Nicholas Marriott
7fef12b491 Whoops, add keys in the right place in the tree. 2009-01-06 14:47:56 +00:00
Nicholas Marriott
ca1ee21702 Switch to splay tree for key bindings. 2009-01-06 14:10:32 +00:00
Nicholas Marriott
ac3fe6512f Some tweaks found by LLVM courtesy of IcePic. 2009-01-05 11:04:06 +00:00
Nicholas Marriott
b457479904 Make home and end work. 2008-12-22 17:26:51 +00:00
Nicholas Marriott
db39fd8503 Add vim mode. 2008-12-20 09:09:57 +00:00
Nicholas Marriott
da6e334eb4 Another duplicate. 2008-12-17 08:08:09 +00:00
Nicholas Marriott
c9912c20b3 Fix C-space and M-space. 2008-12-16 08:25:48 +00:00
Nicholas Marriott
5445918b3e source-file command from Tiago Cunha. 2008-12-15 21:21:56 +00:00
Nicholas Marriott
3bc3f632e1 Don't bother waking up when nothing is attached. 2008-12-13 18:06:08 +00:00
Nicholas Marriott
75f043fedb Work around lack of dch. 2008-12-13 17:41:49 +00:00
Nicholas Marriott
de0a3a0840 Fix CLEANFILES. 2008-12-13 17:40:30 +00:00
Nicholas Marriott
f26c691b08 Should redraw 1 too. 2008-12-11 21:10:04 +00:00
Nicholas Marriott
8fb10c11a0 Don't segfault on last character. 2008-12-11 17:06:28 +00:00
Nicholas Marriott
a1a8e0ce7a Tidy formatting. 2008-12-10 20:26:41 +00:00
Nicholas Marriott
5c3d973a4a Import OpenBSD's getopt(3) to workaround broken glibc version. 2008-12-10 20:25:42 +00:00
Nicholas Marriott
3b2859e9dc Even better, use cause. 2008-12-10 19:50:35 +00:00
Nicholas Marriott
7a82e86827 Make window options work the same was as session options, add mode-fg/mode-bg options, force -g for global on set/show/setw/showw/ 2008-12-08 16:19:51 +00:00
Nicholas Marriott
f008d303e7 Kill warning. 2008-12-06 09:30:25 +00:00
Nicholas Marriott
d0342f4a04 Ability to show window title on status line. 2008-12-05 20:04:06 +00:00
Nicholas Marriott
408c855070 +. 2008-12-02 16:46:26 +00:00
Nicholas Marriott
8f163b8caa Support dfly, from joshe. 2008-11-27 18:55:47 +00:00
Nicholas Marriott
8bef3adc83 Fix build on sparc. 2008-11-23 19:38:12 +00:00