terminal/src/Terminal.h

29 lines
507 B
C++

//
// Created by yukun on 29.11.19.
//
#ifndef TERMINAL_TERMINAL_H
#define TERMINAL_TERMINAL_H
#include "vkvm.hpp"
class Terminal {
public:
void init();
std::string getString();
void setString(char c);
void subString();
void shiftpressed();
void shiftup();
int getstatus();
void moveleft();
void moveright();
void moveup();
void movedown();
private:
std::string s="";
int status = 0;
char cursor = -127;
};
#endif //TERMINAL_TERMINAL_H