0
I Use This!
Moderate Activity

Commits : Listings

Analyzed about 23 hours ago. based on code collected 1 day ago.
May 20, 2023 — May 20, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Memory could be leaked if a second prompt or message appeared while another was still present, so add a separate prompt free callback and make the _clear function responsible for calling it if necessary (rather than the individual prompt callbacks). Also make both messages and prompts clear any existing when a new is set. More... almost 15 years ago
Remove some duplicate code that was causing the status line to be redrawn even when it hadn't changed. More... almost 15 years ago
Fix arguments to switch-client. More... almost 15 years ago
Typo in grid_duplicate_lines (sy for dy) causing it to write into the wrong place when copying UTF-8 data. Found by Dan Colish. More... almost 15 years ago
Make status_message_set a variadic printf-like function. No functional change - helpful for a couple of things coming soon. More... almost 15 years ago
Return -1 not NULL on error, pointed out by Roy Marples. More... almost 15 years ago
Add a -k flag to unlink-window which makes it behave the same as the old kill-window - if a window is linked into only one session it unlinked and destroyed. More... almost 15 years ago
The man page says that kill-window removes the window entirely, unlinking it from any sessions. In fact the implementation only affected the current session, making it the same as unlink-window but destroying the window if it was linked into only one session (unlinkw gives an error). Change the behaviour to match what it documented and was originally intended. More... almost 15 years ago
Having to update NSETOPTION/NSETWINDOWOPTION when adding new options is a bit annoying and it is only use for iterating, so use a sentinel to mark the end of each array instead. Different fix for a problem pointed out by Kalle Olavi Niemitalo. More... almost 15 years ago
Add main-pane-height to the options list (was missed before). More... almost 15 years ago
For some reason when clearing status/message it was redrawing the entire client not just the status line. Changing this also revealed the check for the status line was incorrect when drawing the pane. More... almost 15 years ago
Instead of faking up a status line in status_redraw, use the same code to redraw it as to draw the entire screen, just skip all lines but the last. More... almost 15 years ago
Don't accept input to a window if it not visible. More... almost 15 years ago
The scroll region cannot be one line only, ignore attempts to make it so. More... almost 15 years ago
Get rid of the PANE_HIDDEN flag in favour of a function, and moving the decision for whether or not a pane should be drawn out of the layout code and into the redraw code. More... almost 15 years ago
Need time.h not sys/time.h for time(2). More... almost 15 years ago
Add backspace key to named keys. More... almost 15 years ago
Since tmux doesn't actually need ncurses, use -lcurses/curses.h instead. Pointed out by millert a while ago. More... almost 15 years ago
Having fixed flags for single-character getopt options is a bit hard to maintain and is only going to get worse as more are used. So instead, add a new uint64_t member to cmd_entry which is a bitmask of upper and lowercase options accepted by the command. More... almost 15 years ago
zap trailing whitespace; More... almost 15 years ago
Expand leading tildes in arguments, from Tiage Cunha. More... almost 15 years ago
copy-mode and scroll-mode have a -u flag missing from usage, add it. More... almost 15 years ago
Tidy up and improve target (-t) argument parsing: More... almost 15 years ago
Support "alternate screen" mode (terminfo smcup/rmcup) typically used by full screen interactive programs to preserve the screen contents. When activated, it saves a copy of the visible grid and disables scrolling into and resizing out of the history; when deactivated the visible data is restored and the history reenabled. More... almost 15 years ago
Missed this declaration in key bindings change. Whoops. More... almost 15 years ago
Document the -k flag to new-window. More... almost 15 years ago
Creating a key binding which replaces itself (such as "bind x bind x lsw") frees the command list bound to the key while it is still being executed, leading to a use after free. To prevent this, create a dead keys list and defer freeing replaced or removed key bindings until the main loop when the key binding will have finished executing. More... almost 15 years ago
Add a "back to indentation" key in copy mode to move the cursor to the first non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks. More... almost 15 years ago
Merge three copies of identical code to move the cursor x position into a single function, from Kalle Olavi Niemitalo. More... almost 15 years ago
If it exist, load a system-wide configuration file /etc/tmux.conf before any user-specified one. More... almost 15 years ago