* Ivan J. <parazyd_AT_dyne.org> [2020-05-04 10:47]:
>On 4 May 2020 08:58:42 CEST, git_AT_suckless.org wrote:
>>commit 0e8130becf0f5d73cf16f262664248f5b1a813fc
>>Author: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
>>AuthorDate: Mon May 4 08:58:38 2020 +0200
>>Commit: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
>>CommitDate: Mon May 4 08:58:38 2020 +0200
>>
>> Revert "Revert "Ignore carriage return in history""
>>
>> This reverts commit 1dfa7e759525944d50614caf96ce0acf8b52abeb.
>>
>>diff --git a/scroll.c b/scroll.c
>>index c847ec1..6cb192a 100644
>>--- a/scroll.c
>>+++ b/scroll.c
>>_AT_@ -179,6 +179,8 @@ skipesc(char c)
>>
>> switch (state) {
>> case CHAR:
>>+ if (c == '\r')
>>+ return true;
>> if (c == '\033')
>> state = BREK;
>> break;
>
>Mind giving some reasoning to this?
Because we can't handle \r (and not sure if we want to).
Received on Mon May 04 2020 - 10:50:01 CEST