소스 검색

Fix return type of cursor movement

DricomDragon 5 년 전
부모
커밋
8ec3a16a39
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      main.cc

+ 1 - 2
main.cc

@@ -35,11 +35,10 @@ unsigned int identifyTile(unsigned int y, unsigned int x, unsigned int l) {
 	return y * l + x;
 }
 
-unsigned int moveCursorUp(const unsigned int& h) {
+void moveCursorUp(const unsigned int& h) {
 	cout << "\033[" << h << 'A';
 }
 
-
 class World
 {
 	private: