[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help me find the bug in my terminal-based editor
From: |
Amirouche Boubekki |
Subject: |
Help me find the bug in my terminal-based editor |
Date: |
Sun, 03 Feb 2019 14:07:00 +0100 |
User-agent: |
Roundcube Webmail/1.1.2 |
Hello,
I have a strange bug in my terminal-based editor.
The code can be found at https://framagit.org/a-guile-mind/zk
To install you will need guile-bytestructures and guile-pfds.
Then:
git clone https://framagit.org/a-guile-mind/zk
cd zk
make dev
You will also need to change the following line:
https://framagit.org/a-guile-mind/zk/blob/master/zk/termbox.scm#L174
Then you can type:
make run
This will clear the terminal and display the content of 'zk.scm'.
If you type 'enter' key, it should add a newline at the start
of the buffer. It does, but rendering has glitches. If you resize
the window it will remove the glitches.
FWIW, here is the previous iteration that works but doesn't support
multiple buffers and frames: https://github.com/a-guile-mind/azul.scm
Can someone help?
--
Amirouche ~ amz3 ~ http://www.hyperdev.fr
- Help me find the bug in my terminal-based editor,
Amirouche Boubekki <=