Commit Graph

2637 Commits

Author SHA1 Message Date
8ea49712fd suspend-client command and suspend client when ^Z key binding is used. 2009-01-18 12:09:42 +00:00
ff61eee294 Don't use [4] since they are confusing and use the right size for memset. DOH. 2009-01-17 18:38:12 +00:00
d29ca39e0e Two new commands, choose-window and choose-session which work only when bound to a key and allow the window or session to be selected from a list. 2009-01-15 19:27:31 +00:00
78c96751e6 Rename some flags I'm not happy about. 2009-01-14 22:16:57 +00:00
97fef895f2 Rework the prefix-time stuff. The option is now call repeat-time and defaults to 500 ms. However, it only applies to a small subset of commands, currently: up-pane, down-pane, next-window, previous-window, resize-pane-up, resize-pane-down. These are the commands for which it is obviously useful, having it for everything else was just bloody annoying. 2009-01-14 22:13:30 +00:00
d1eb153368 switch-pane is now select-pane. 2009-01-14 19:56:55 +00:00
3f51dcdfc3 up-pane and down-pane commands. 2009-01-14 19:41:15 +00:00
b4ac8c1342 Multiple window splitting. 2009-01-14 19:29:32 +00:00
f85559144f kill-pane command. 2009-01-13 06:50:10 +00:00
60bfaf5bae prefix-time option to allow multiple commands without additional prefixes. 2009-01-12 23:37:02 +00:00
a88eba3805 More hacks for key handling. 2009-01-12 22:48:00 +00:00
c35a50b21a Commands to resize panes; also a pane generic cmd, not used yet. 2009-01-12 19:23:14 +00:00
7cd3cf0ead Make the window pane code handle panes of different sizes, and add a -l and -p arguments to split-window to specify the new window size in lines or as a percentage. 2009-01-12 18:22:47 +00:00
6897510552 Codes no longer needed. 2009-01-11 23:41:29 +00:00
162bacdcd9 Window splitting. Two vertical panes fixed 50% each. This is a huge diff, still a couple of bugs (notably heap corruption somewhere causing segfault on exit). 2009-01-11 23:31:46 +00:00
d78bc5dfc4 save-buffer command, from Tiago Cunha. 2009-01-11 23:14:57 +00:00
e3feb067a5 Server locking. set-password and lock-server commands, plus automatic locking. 2009-01-11 00:48:42 +00:00
ee0a7cda88 Restore emulation of ich with insert mode. 2009-01-10 22:28:40 +00:00
4d71164826 Pick up cwd from environment,. 2009-01-10 19:37:35 +00:00
88ab74ac20 Clock mode. 2009-01-10 19:35:40 +00:00
8253e68c79 Oops, missed from btab commit. 2009-01-10 18:37:08 +00:00
312633203d Support btab. 2009-01-10 18:28:09 +00:00
fd05d07c2b Change server-info format. 2009-01-10 14:43:43 +00:00
a1b43faa43 Trim spaces. 2009-01-10 01:51:22 +00:00
fb6c8ecae6 New command, server-info, to show server info + terminal details. Also tweak term stuff a bit. 2009-01-10 01:30:38 +00:00
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
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
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
4846ad1657 Introduce nitems() and use it; use bsearch. 2009-01-07 22:52:33 +00:00
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
4af8db90e8 Complete option names as well. 2009-01-06 17:04:56 +00:00
9cddd796ff Prompt history. 2009-01-06 15:37:15 +00:00
ca1ee21702 Switch to splay tree for key bindings. 2009-01-06 14:10:32 +00:00
5445918b3e source-file command from Tiago Cunha. 2008-12-15 21:21:56 +00:00
75f043fedb Work around lack of dch. 2008-12-13 17:41:49 +00:00
5c3d973a4a Import OpenBSD's getopt(3) to workaround broken glibc version. 2008-12-10 20:25:42 +00:00
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
d0342f4a04 Ability to show window title on status line. 2008-12-05 20:04:06 +00:00
8bef3adc83 Fix build on sparc. 2008-11-23 19:38:12 +00:00
cb3f4ed6fe Bump NSETOPTION. 2008-11-17 18:56:36 +00:00
5ca710d9e3 Disable UTF-8 by default and add options to enable it. 2008-11-16 13:28:59 +00:00
46f5e42145 Keep stack of previous windows.
Check for op (orig_pair) for default colours.
2008-11-16 10:10:26 +00:00
4198a9c376 TAILQ -> SLIST. 2008-11-05 01:19:24 +00:00
6304e23984 Record intermediate for p2/s2 and fake up charset redefinition (some programs use it to switch character set). 2008-11-04 20:41:10 +00:00
0ba0fd389c Translate 256 colours to 16. 2008-10-09 22:00:33 +00:00
185f7297e8 Better OSC support for title setting, and support APC as well. 2008-10-09 21:22:16 +00:00
62457bce0b Trim. 2008-09-26 06:45:28 +00:00
df2b3bcf44 Fix stupid GNU getopt behaviour. 2008-09-25 23:28:15 +00:00
efe557313a Internal screen data rewrite for better 256 colour/UTF-8 support. 2008-09-25 20:08:57 +00:00
f07cedf048 Rename some functions. 2008-09-10 19:15:06 +00:00