Skip to content

Commit

Permalink
fix code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Nov 28, 2024
1 parent 16f3eee commit d6e543b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jsinteractive.c
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@ void jsiHandleChar(char ch) {
// 27 then 91 then 48-57 (numeric digits) then 'd' - set line number, used for that
// inputLine and put into any declared functions
// 27 then 91 then 49 ('1') then 126 - numpad home
// 27 then 91 then 50 ('2') then 75 - Erases the entire current line.
// 27 then 91 then 50 ('2') then 72 - Erases the entire current line.
// 27 then 91 then 51 ('3') then 126 - backwards delete
// 27 then 91 then 52 ('4') then 126 - numpad end
// 27 then 91 then 53 ('5') then 126 - pgup
Expand Down Expand Up @@ -1913,7 +1913,7 @@ void jsiHandleChar(char ch) {
inputStateNumber = (uint16_t)(10*inputStateNumber + ch - '0');
} else {
if (ch=='d') jsiLineNumberOffset = inputStateNumber;
else if (ch=='H' /* 75 */) {
else if (ch=='H' /* 72 */) {
if (inputStateNumber==2) jsiClearInputLine(true); // Erase current line
} else if (ch==126) {
if (inputStateNumber==1) jsiHandleHome(); // Numpad Home
Expand Down

0 comments on commit d6e543b

Please sign in to comment.