Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
7641ca7966
|
@ -20,13 +20,11 @@ file(GLOB_RECURSE TESTS test/*.cpp)
|
|||
include_directories(src)
|
||||
include_directories(test)
|
||||
|
||||
#toml
|
||||
include_directories(lib/toml)
|
||||
|
||||
set(LIB_PATH "${CMAKE_SOURCE_DIR}/../library")
|
||||
|
||||
include_directories(${LIB_PATH}/include)
|
||||
add_executable(Terminal ${SOURCES} ${HEADERS} main/main.cpp src/Terminal.h src/Terminal.cpp)
|
||||
add_executable(Terminal ${SOURCES} ${HEADERS} main/main.cpp)
|
||||
|
||||
target_link_libraries(Terminal ${LIB_PATH}/lib/liblibrary.a)
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ int main() {
|
|||
|
||||
vkvm::registerEvent(vkvm::KeyUp, [&terminal]() {
|
||||
vkvm::KeyCode keycode = vkvm::getLastPressedKey();
|
||||
if(((vkvm::KeyCode::ShiftLeft & 0xfff) == keycode) ||((vkvm::KeyCode::ShiftRight & 0xfff) == keycode)){
|
||||
if(((vkvm::KeyCode::ShiftLeft) == keycode) ||((vkvm::KeyCode::ShiftRight) == keycode)){
|
||||
terminal.shiftup();
|
||||
}
|
||||
// char ch = keycode - (vkvm::KeyCode::A & 0xfff) + 'A';
|
||||
|
|
Loading…
Reference in New Issue