"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "input.c" between
tmux-3.1a.tar.gz and tmux-3.1b.tar.gz

About: tmux is a terminal multiplexer that lets you switch easily between several programs in one terminal.

input.c  (tmux-3.1a):input.c  (tmux-3.1b)
skipping to change at line 2307 skipping to change at line 2307
if (ictx->flags & INPUT_DISCARD) if (ictx->flags & INPUT_DISCARD)
return; return;
if (!options_get_number(ictx->wp->options, "allow-rename")) if (!options_get_number(ictx->wp->options, "allow-rename"))
return; return;
log_debug("%s: \"%s\"", __func__, ictx->input_buf); log_debug("%s: \"%s\"", __func__, ictx->input_buf);
if (!utf8_isvalid(ictx->input_buf)) if (!utf8_isvalid(ictx->input_buf))
return; return;
if (ictx->input_len == 0) { if (ictx->input_len == 0) {
oe = options_get(wp->window->options, "automatic-rename"); oe = options_get_only(wp->window->options, "automatic-rename");
if (oe != NULL) if (oe != NULL)
options_remove(oe); options_remove(oe);
return; return;
} }
window_set_name(ictx->wp->window, ictx->input_buf); window_set_name(ictx->wp->window, ictx->input_buf);
options_set_number(ictx->wp->window->options, "automatic-rename", 0); options_set_number(ictx->wp->window->options, "automatic-rename", 0);
server_status_window(ictx->wp->window); server_status_window(ictx->wp->window);
} }
/* Open UTF-8 character. */ /* Open UTF-8 character. */
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)