about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-23 12:00:34 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-11-05 17:18:42 +0100
commit330ef3bcf3f78b0e3844c042b480c8484e22f777 (patch)
tree02a79b627d6918cbbb7197e3719fc739fb49dc93 /src/otr
parent643d12af445bc7bbda4d9f90acf63bd2b77b5098 (diff)
downloadprofani-tty-330ef3bcf3f78b0e3844c042b480c8484e22f777.tar.gz
Store current input line in history
Regards https://github.com/profanity-im/profanity/issues/200

This doesn't work yet. And I have no idea why.
Weird behaviour:

- start profanity
- type 'ASDF'
- ctrl+arrow down
-> text vanishes (like intended)
- arrow up
-> nothing happens (intended is that the last history item [ASDF]
appears)

- type 'ABC'
- press enter
- arrow up
-> ABC appears
- enter

- type 'UUU'
- ctrl+arrow down
- type 'ZZZ'
- enter
- arrow up
- ZZZ appears
- arrow up
- UUU appears

So in the latter case we added to history and deleted from the input
line and then immediately entered new text and pressed enter, to add
this to the history too.
When we do this the not sent text succesfully was stored in history.
Diffstat (limited to 'src/otr')
0 files changed, 0 insertions, 0 deletions