From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 168e1823 for ; Tue, 6 Aug 2019 23:08:37 +0000 (UTC) Received: (qmail 26506 invoked by alias); 6 Aug 2019 23:08:27 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24128 Received: (qmail 16435 invoked by uid 1010); 6 Aug 2019 23:08:27 -0000 X-Qmail-Scanner-Diagnostics: from mail-vs1-f50.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25531. spamassassin: 3.4.2. Clear:RC:0(209.85.217.50):SA:0(-2.0/5.0):. Processed in 1.632537 secs); 06 Aug 2019 23:08:27 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.50 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lOwxdOi+HlJo2usoRyXNoqcyGNxMAfLuOLzY1hVDGeQ=; b=aYpWLrEDXwpHKW7TpixQHe7yQ4xqD8EDX5UyT4HipEco49ic7c36xZbBbGu8wpCF43 Uic2BxLZiQ5vOeaXJN90sgJmIQ+2szWjg6+aLzEjflq+9SCXG9IXeD2E/Vw4HGPsT5nn l6HYCbuGwgyKGyfov/MYcjYMI1OhKPI15Ojsj6yIaLP2vvgPmz86fW4oEUHupR4FYW4T x0b/skgivn0EryqZSN2R007rms6aDOUvadEE+vyd2KUntbhlyhAuhWVRDLbMWOfAmX5j DFOj8yhkjC3NIIaEBxXl7YfY05kjNIseSao3Ed+WVCCepvShOZ8I0ksuBzTfeF9RFj2a zufA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lOwxdOi+HlJo2usoRyXNoqcyGNxMAfLuOLzY1hVDGeQ=; b=atx5gRx75PPiygJCdowPHEmAmJ8t4PoL0qr+VqJezIeWiDIJuGHZxCMzPgy4i1Y2y5 +TE0o7dV44NhGPBcUOlVA/M5hJ+GukzPfCGNsG0Gszk3dmLkceVRmoSRNn0iRVYPUzG1 7oHVOGoOVxRLvuxvY9uE5JwxkEr4Zw5n5ZG6AJ2FHnzio4xuD/I95gmr92HxfOkfKRV5 QDTtIt0vdnyVn5Nc+5yRmIPaqK6D9RA8byHxm8jO7feU6e040fpEMBHVdlzKJM3l3Bw9 rlctdZwtOig8q+yuDr1CxIoz4nUIIY9nOJ4GpSrR8LxhqdSYM7a8qwbtjNCNJgUYg8Gv BfxQ== X-Gm-Message-State: APjAAAU5DTCEE7Uc6Za2GP3U605b45knIPtcHfv0D00npaldmJzr2ds+ pwbOmVhoRsQ53xcROW22lsHUV5W2s+zGtg7/pSI= X-Google-Smtp-Source: APXvYqzcx/48HK7kqRjQ3YiRnArtOJPy/5n/CXkMXsM8l6czgWhRIXtXih+WGV88o5Q5Ct8QL898iKDhAtDF3NH1xM4= X-Received: by 2002:a67:d81b:: with SMTP id e27mr4238344vsj.198.1565132871092; Tue, 06 Aug 2019 16:07:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Wed, 7 Aug 2019 01:07:38 +0200 Message-ID: Subject: Re: zcurses hello world To: Justin Garrison Cc: Zsh Users Content-Type: multipart/alternative; boundary="000000000000ceccad058f7ae472" --000000000000ceccad058f7ae472 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You need to add some content and then call refresh. So for example add some text or draw the window's border. sob., 3 sie 2019, 02:32 u=C5=BCytkownik Justin Garrison < justinleegarrison@gmail.com> napisa=C5=82: > I'm trying to write a cli app with zcurses. I've looked at feedz, zmixer, > and tetriscurses and also ZUI but I couldn't find any very basic hello > world examples. I also found that feedz and zmixer don't work for me (zsh > 5.7.1). > > The only documentation I found was > > http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcurse= s-Module > and > when trying zcurses init && zcurses addwindow ... nothing seems to happen > for me. > > I also watch the videos on ncurses UI in zcurses but that all uses ZUI > which has it's own implementation. > > Does someone have basic/intro hello world examples for zcurses? > > Thanks > > -- > Justin Garrison > justingarrison.com > --000000000000ceccad058f7ae472--