From: milk <milkmiruku@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: zsh-users@zsh.org
Subject: Re: Zle history feature like that of many IRC clients?
Date: Wed, 21 Dec 2011 06:33:50 +0000 [thread overview]
Message-ID: <CALu3U48TsPHcT97-GXJg5vC0jwziT5iRcNbCxUDX-acMrVxyuw@mail.gmail.com> (raw)
In-Reply-To: <111220082438.ZM10913@torch.brasslantern.com>
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
Bingo, thanks so much! The only change I have made is to comment out the
"zle .send-break" in the fake-accept-line() so that the content of the line
is not echoed back on hitting down.
There are issues with slightly more complex management though. "test 111"
<down> "test 222" <up> <enter> then there's no more "test 222" in the
buffer. Also "test 123" <down> "test 789" <up> alter "test 123" to "test
123456" <down> <enter> (on "test 789") <up> <up> gives "test 123" still.
But still, the basics you have provided will be a great help to myself, my
coming from a much longer history of IRC usage than bash/zsh usage :)
P.S. I'm basing the behaviour on Irssi.
P.P.S. I stuck this in the wiki -
http://zshwiki.org/home/zle/ircclientlikeinput
next prev parent reply other threads:[~2011-12-21 6:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 22:39 milk
2011-12-20 3:17 ` Bart Schaefer
2011-12-20 16:24 ` Bart Schaefer
2011-12-21 6:33 ` milk [this message]
2011-12-21 9:07 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALu3U48TsPHcT97-GXJg5vC0jwziT5iRcNbCxUDX-acMrVxyuw@mail.gmail.com \
--to=milkmiruku@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).