Browse Source

Merge remote-tracking branch 'refs/remotes/origin/main'

main
Jannis 2 years ago
parent
commit
43b51e611d
  1. 2
      src/input.c
  2. 2
      test/test_input.c

2
src/input.c

@ -57,7 +57,7 @@ char getInput(){
*/
char getTInput(char key){
if(key == '\033'){
return 'ar';
return 'r';
}
else{
switch(key){

2
test/test_input.c

@ -68,7 +68,7 @@ void test_testg(void){
}
//test input invalid
void test_testg(void){
void test_testb(void){
char result = getTInput('b');
TEST_ASSERT_EQUAL_CHAR('n', result);
}
Loading…
Cancel
Save