Commit Graph

1837 Commits

Author SHA1 Message Date
Nicholas Marriott
e6424bcce9 Fix scrolling region checks. 2007-09-29 17:45:10 +00:00
Nicholas Marriott
75cc8971ec Handle MSG_ERROR. 2007-09-29 15:06:00 +00:00
Nicholas Marriott
7d4dc60a31 Sync. 2007-09-29 15:02:41 +00:00
Nicholas Marriott
fa537abf83 tmux new-session -d. 2007-09-29 14:57:07 +00:00
Nicholas Marriott
1e316cfc7c Lose intermediate handling (unused). Change argument parsing to work properly over multiple buffers by saving a copy of the argument (we can't just save off/len since the buffer may vanish at any point). 2007-09-29 14:25:49 +00:00
Nicholas Marriott
653ee721df Write error messages for rename. Also tweak some error outputs, and fix -i. 2007-09-29 13:22:15 +00:00
Nicholas Marriott
a6875d0dae Sync. 2007-09-29 12:48:51 +00:00
Nicholas Marriott
a777c060dc Nuke CLEAR_SCREEN/ENDOFSCREEN and assert scroll region when drawing. These will be reqd for status line(s). 2007-09-29 10:57:39 +00:00
Nicholas Marriott
2ec60c9d66 Pass bell through from any window. 2007-09-29 09:53:25 +00:00
Nicholas Marriott
14e9f73df9 debug2 not debug. 2007-09-29 09:50:59 +00:00
Nicholas Marriott
0bbe838b25 Window flags, currently only bell. 2007-09-29 09:15:49 +00:00
Nicholas Marriott
feff317fbd Sync. 2007-09-28 22:55:39 +00:00
Nicholas Marriott
102e4b35d9 Sort headers. 2007-09-28 22:54:21 +00:00
Nicholas Marriott
aafee17de6 New input parser via state machine. 2007-09-28 22:47:22 +00:00
Maximilian Gass
d2e035f892 Added window renaming support (tmux rename) 2007-09-28 21:41:52 +00:00
Nicholas Marriott
32a80a73a1 Sync. 2007-09-28 21:08:53 +00:00
Nicholas Marriott
4d6cfe5f22 Terminate buffers properly. 2007-09-28 21:08:30 +00:00
Nicholas Marriott
5990461688 Add client_flush to flush output when transient commands are called. 2007-09-28 19:04:21 +00:00
Nicholas Marriott
109873bdf8 Sync. 2007-09-28 18:17:59 +00:00
Nicholas Marriott
a73deec89d Erm, check the right length for short cmds. 2007-09-27 20:54:43 +00:00
Nicholas Marriott
db293c1c07 Retry connection with small timeout instead of sleep(10) for server start. 2007-09-27 20:53:13 +00:00
Nicholas Marriott
1e269710a7 Sync. 2007-09-27 12:12:15 +00:00
Nicholas Marriott
4f6999a2df Sync. 2007-09-27 10:17:04 +00:00
Nicholas Marriott
7967098cfd Update changelog. 2007-09-27 10:14:10 +00:00
Nicholas Marriott
58affec94c Split list into ls/lsw. 2007-09-27 10:09:37 +00:00
Nicholas Marriott
22990a6595 New session selection rules:
- find by name if given
	- otherwise try current index from $TMUX
	- otherwise if only one session, use it
	- otherwise error
2007-09-27 09:52:03 +00:00
Nicholas Marriott
3fa8f16364 Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types. 2007-09-27 09:15:58 +00:00
Nicholas Marriott
187648e8d1 -S for socket, -s for session. 2007-09-26 19:38:42 +00:00
Nicholas Marriott
2a3e209cce Extend op string and add potential for a single alias. 2007-09-26 19:09:30 +00:00
Nicholas Marriott
ab718378cb Don't close stderr in log_close to make -v/-vv work again. 2007-09-26 18:55:42 +00:00
Nicholas Marriott
5ef6d077c6 Join oldest session if non specified. Fix errors. 2007-09-26 18:50:49 +00:00
Nicholas Marriott
8d01984182 Restore list command. 2007-09-26 18:32:17 +00:00
Nicholas Marriott
2aacbe764c Whoops, these need to be terminated. 2007-09-26 18:18:39 +00:00
Nicholas Marriott
0683ae4e47 These are no longer unused. 2007-09-26 18:14:48 +00:00
Nicholas Marriott
b1822f6a72 Unlink and retry if server socket connect fails. 2007-09-26 18:12:19 +00:00
Nicholas Marriott
302a35da85 Server function naming, still not happy with server stuff though. 2007-09-26 18:09:23 +00:00
Nicholas Marriott
65eeb7e421 Restore -n, now after the command. 2007-09-26 14:08:16 +00:00
Nicholas Marriott
fb39b22a2e Cleanup part II: split up client stuff and ops. More to come. 2007-09-26 13:43:15 +00:00
Nicholas Marriott
671694ac30 Cleanup part 1: split up server.c. 2007-09-26 10:35:24 +00:00
Nicholas Marriott
3fef2d998f Window list with C-b W. 2007-09-22 11:50:33 +00:00
Nicholas Marriott
5ea2ac36e4 Stop crashing when exiting windows. 2007-09-21 20:45:06 +00:00
Nicholas Marriott
70c1ba5770 Comment. 2007-09-21 20:02:23 +00:00
Nicholas Marriott
f456e1cb30 Reset s->window to NULL so it doesn't end up in s->last. 2007-09-21 20:00:28 +00:00
Nicholas Marriott
1fefbb7a85 Pass through backspace for now. 2007-09-21 19:24:37 +00:00
Nicholas Marriott
f145108258 Tweak ordering. 2007-09-21 18:35:16 +00:00
Nicholas Marriott
248f78d29a Remove window before working out new current window; clear last window if necessary. 2007-09-21 18:31:58 +00:00
Nicholas Marriott
33f5f84f99 Whoops. Other way round. 2007-09-21 18:20:44 +00:00
Nicholas Marriott
d63977ea8a session_last == -1 could still leave us with the window we are about to remove. 2007-09-21 18:16:31 +00:00
Nicholas Marriott
1702a781bb Be more careful about destroying windows. 2007-09-21 18:11:25 +00:00
Nicholas Marriott
24b978adb7 Don't resize unless size changed. 2007-09-21 18:00:58 +00:00