mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Merge branch 'obsd-master'
Conflicts: utf8.c
This commit is contained in:
commit
31ae09efa0
@ -80,8 +80,8 @@ cmd_show_messages_jobs(struct cmdq_item *item, int blank)
|
||||
cmdq_print(item, "%s", "");
|
||||
blank = 0;
|
||||
}
|
||||
cmdq_print(item, "Job %u: %s [fd=%d, pid=%d, status=%d]",
|
||||
n, job->cmd, job->fd, job->pid, job->status);
|
||||
cmdq_print(item, "Job %u: %s [fd=%d, pid=%ld, status=%d]",
|
||||
n, job->cmd, job->fd, (long)job->pid, job->status);
|
||||
n++;
|
||||
}
|
||||
return (n != 0);
|
||||
|
@ -93,7 +93,7 @@ static const char window_choose_keys_emacs[] = "0123456789"
|
||||
"abcdefghijklmnoprstuvwxyz"
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
static const char window_choose_keys_vi[] = "0123456789"
|
||||
"abcdefhilmnoprstuvwxyz"
|
||||
"abcdefimnoprstuvwxyz"
|
||||
"ABCDEFIJKMNOPQRSTUVWXYZ";
|
||||
|
||||
static void window_choose_free1(struct window_choose_mode_data *);
|
||||
@ -563,8 +563,6 @@ window_choose_translate_key(key_code key)
|
||||
case '\r':
|
||||
case KEYC_BSPACE:
|
||||
case ' ':
|
||||
case KEYC_LEFT:
|
||||
case KEYC_RIGHT:
|
||||
case KEYC_LEFT|KEYC_CTRL:
|
||||
case KEYC_RIGHT|KEYC_CTRL:
|
||||
case KEYC_MOUSEDOWN1_PANE:
|
||||
@ -584,12 +582,18 @@ window_choose_translate_key(key_code key)
|
||||
case '\006': /* C-f */
|
||||
case KEYC_NPAGE:
|
||||
return (KEYC_NPAGE);
|
||||
case 'h':
|
||||
case KEYC_LEFT:
|
||||
return (KEYC_LEFT);
|
||||
case 'j':
|
||||
case KEYC_DOWN:
|
||||
return (KEYC_DOWN);
|
||||
case 'k':
|
||||
case KEYC_UP:
|
||||
return (KEYC_UP);
|
||||
case 'l':
|
||||
case KEYC_RIGHT:
|
||||
return (KEYC_RIGHT);
|
||||
case 'g':
|
||||
case KEYC_HOME:
|
||||
return (KEYC_HOME);
|
||||
|
Loading…
Reference in New Issue
Block a user