Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Ruthard Baudach <ruthard.baudach@web.de>
To: supmua <supmua@googlegroups.com>
Subject: format hook output
Date: Sun, 02 Nov 2014 23:03:41 +0100	[thread overview]
Message-ID: <1414965471-sup-8188@ruthard-lappi> (raw)

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

If I puts or print something inside a hook, it is put on the bottom of
sup.

One problem is, that \n does only produce a "next line" and no "carraige
return", a problem often occoring if you try to print to a curses
controlled terminal.

How do I output some information in a curses-compliant way from a hook?
Or where would be a good starting point to search the code of sup?

Regards,

Ruthard

-- 

Please encrypt and sign emails.
My PGP-Id: AC5AC6C2

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

             reply	other threads:[~2014-11-02 22:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 22:03 Ruthard Baudach [this message]
2014-11-02 22:25 ` [sup] " Gaute Hope

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=1414965471-sup-8188@ruthard-lappi \
    --to=ruthard.baudach@web.de \
    --cc=supmua@googlegroups.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox