summaryrefslogtreecommitdiff
path: root/client.cpp
diff options
context:
space:
mode:
authorJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-07 17:43:50 -0300
committerJuan Manuel Tomás <jtomas1815@gmail.com>2020-07-07 17:43:50 -0300
commit2260209d3b09f728f0cbb891f5498a9f0f8e38eb (patch)
treee3f886518b49bc09eadbb7aa94cee1b37f6cc894 /client.cpp
parentc801730eda827ea2662ef703f694a2abde33f4c0 (diff)
downloadjet-2260209d3b09f728f0cbb891f5498a9f0f8e38eb.tar.gz
jet-2260209d3b09f728f0cbb891f5498a9f0f8e38eb.zip
Implement tui for client
Diffstat (limited to 'client.cpp')
-rw-r--r--client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/client.cpp b/client.cpp
index f99dc5d..85289b6 100644
--- a/client.cpp
+++ b/client.cpp
@@ -76,4 +76,12 @@ struct Client {
target++;
}
}
+
+ void push() {
+ cursor.push(args.pop());
+ }
+
+ void pop() {
+ cursor.pop();
+ }
};