summaryrefslogtreecommitdiff
path: root/jet.cpp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-06-03 22:18:26 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-06-03 22:18:26 -0300
commit74f957ef54a912b9396232fb3b0bb8c8c47bf5f7 (patch)
tree096a6fb921c28fd2f7453615fe0339d855f439c4 /jet.cpp
parent7c82e7dffeb734ca4b4261109ac936f41e7e6538 (diff)
downloadjet-74f957ef54a912b9396232fb3b0bb8c8c47bf5f7.tar.gz
jet-74f957ef54a912b9396232fb3b0bb8c8c47bf5f7.zip
Separate pop into byte and element variants
Diffstat (limited to 'jet.cpp')
-rw-r--r--jet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/jet.cpp b/jet.cpp
index ff1da36..f5a901f 100644
--- a/jet.cpp
+++ b/jet.cpp
@@ -50,6 +50,7 @@ int main(int argc, char *argv[]) {
printw("%lc", window_end.element());
window_end++;
}
+ printw("%d", buffer.cursor.index);
if (x > -1 && y > -1) {
move(y, x);
}