Commit Graph

73 Commits

Author SHA1 Message Date
Nicholas Marriott
63795f6c04 Missing time.h. 2007-10-19 22:17:29 +00:00
Nicholas Marriott
ad4a7423c0 Mark windows in yellow on status line when bell. 2007-10-12 11:24:15 +00:00
Nicholas Marriott
7ba01f6843 New window command. 2007-10-03 23:32:26 +00:00
Nicholas Marriott
df716ecc8f Rewrite command handling to be more generic. Not finished! 2007-10-03 21:31:07 +00:00
Nicholas Marriott
3879c89186 Ooops, missed this one. Doh. 2007-09-29 21:02:26 +00:00
Nicholas Marriott
c28e220123 Don't nuke last window on reselect of same window. 2007-09-29 21:01:18 +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
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
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
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
34f87e521b Last window option. 2007-09-20 18:03:23 +00:00
Nicholas Marriott
9c0b51cd5d Wrap next/prev. 2007-09-20 08:21:59 +00:00
Nicholas Marriott
12f7197adb session_flush can go bye-bye again. 2007-08-27 20:36:52 +00:00
Nicholas Marriott
438144692d Flush even detached sessions. 2007-08-27 15:28:07 +00:00
Nicholas Marriott
04f4e4219b Change command format. 2007-08-27 13:45:26 +00:00
Nicholas Marriott
6e210bb005 If a session is destroyed, safely kill all other clients attached to it. 2007-08-27 12:05:15 +00:00
Nicholas Marriott
73d7b70479 Update to be more readable and hopefully lose memory problems. 2007-08-27 09:53:38 +00:00
Nicholas Marriott
4b62b1d16c Sync with fdm. 2007-07-25 23:13:18 +00:00
Nicholas Marriott
a41ece5ff0 Initial import to CVS. Basic functions are working, albeit with a couple of showstopper memory bugs and many missing features. Detaching, reattaching, creating new sessions, listing sessions work acceptably for using with shells. Simple curses programs (top, systat, tetris) and more complicated ones (mutt, emacs) that don't require scrolling regions (ESC[r) mostly work fine (including mutt, emacs). No status bar yet and no key remapping or other customisation. 2007-07-09 19:04:12 +00:00