daniele77 / cli

A library for interactive command line interfaces in modern C++
Boost Software License 1.0
1.24k stars 140 forks source link

HOME and END does not work properly in tmux. #181

Open csy19960309 opened 1 year ago

csy19960309 commented 1 year ago

In tmux, even if I add these two lines below to my ~/.tmux.conf, HOME and END does not work but print 'H'/'F' to the stdout.

bind-key -n Home send "\eOH" bind-key -n End send "\eOF"

The session type is CliLocalTerminalSession.

Besides, HOME and END both work in GNU readline, and if I turn to some terminal else like Konsole instead of tmux HOME and END also work. What else should I do or is it something that should be fixed?

daniele77 commented 1 year ago

I guess it should be fixed. Maybe the issue is related to this one: #123

csy19960309 commented 1 year ago

I guess it should be fixed. Maybe the issue is related to this one: #123

Yesterday I turned to v2.0.2 but this issue remained.