So I tried to reproduce this as follows, but it seems to be working as desired...
1) rm -f ~/.byobu/keybindings.tmux
2) F5 refresh profile
3) press ctrl-a
4) byobu-ctrl-a script runs, prompting for selecting 1 or 2
5) select 1
6) press "ctrl-a c" and it creates a new window
Then I do this:
1) rm -f ~/.byobu/keybindings.tmux
2) F5 refresh profile
3) press ctrl-a
4) byobu-ctrl-a script runs, prompting for selecting 1 or 2
5) select 2
6) 'asdfasdf' then press "ctrl-a" and watch the cursor go to the beginning of the line
So I tried to reproduce this as follows, but it seems to be working as desired...
1) rm -f ~/.byobu/ keybindings. tmux
2) F5 refresh profile
3) press ctrl-a
4) byobu-ctrl-a script runs, prompting for selecting 1 or 2
5) select 1
6) press "ctrl-a c" and it creates a new window
Then I do this: keybindings. tmux
1) rm -f ~/.byobu/
2) F5 refresh profile
3) press ctrl-a
4) byobu-ctrl-a script runs, prompting for selecting 1 or 2
5) select 2
6) 'asdfasdf' then press "ctrl-a" and watch the cursor go to the beginning of the line