Hi all,
I find this behaviour unexpected:

$ printf foo | less --no-init | xxd
00000000: 666f 6f1b 5b41 1b5b 4b                   foo.[A.[K

less prints ANSI escape codes for 'cursor up' and 'erase in line' at the
end of my message. Interestingly, when doing the same within tmux, the
result is different:

$ printf foo | less --no-init | xxd
00000000: 666f 6f1b 4d1b 5b4b                      foo.M.[K

Is this intended behaviour? If so, is there any flag to disable this?

Greetings,
Richard

Reply via email to