From: Frank Terbeck <ft@bewatermyfriend.org>
To: Ivan Brkanac <ibrkanac@gmail.com>
Cc: zsh-users@zsh.org
Subject: Re: $terminfo for up and down arow
Date: Wed, 08 Jan 2014 10:38:36 +0100 [thread overview]
Message-ID: <87zjn6x17n.fsf@ft.bewatermyfriend.org> (raw)
In-Reply-To: <874n5eyhrn.fsf@ft.bewatermyfriend.org> (Frank Terbeck's message of "Wed, 08 Jan 2014 09:55:40 +0100")
Frank Terbeck wrote:
[...]
> zle-line-init () {
> (( ${+terminfo[smkx]} )) && echoti smkx
> }
> zle-line-finish () {
> (( ${+terminfo[rmkx]} )) && echoti rmkx
> }
For the record, you also need to make these known as widgets for zle to
pick them up, so:
zle -N zle-line-init
zle -N zle-line-finish
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
next prev parent reply other threads:[~2014-01-08 9:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 8:33 Ivan Brkanac
2014-01-08 8:55 ` Frank Terbeck
2014-01-08 9:38 ` Frank Terbeck [this message]
2014-01-10 12:38 ` Ivan Brkanac
2014-01-10 12:48 ` Peter Stephenson
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=87zjn6x17n.fsf@ft.bewatermyfriend.org \
--to=ft@bewatermyfriend.org \
--cc=ibrkanac@gmail.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).