Clamp home key
This commit is contained in:
parent
13cfa76368
commit
60b7712ed6
1 changed files with 1 additions and 1 deletions
|
|
@ -863,7 +863,7 @@ static bool C_HandleKey (event_t *ev, FCommandBuffer &buffer)
|
|||
case GK_HOME:
|
||||
if (ev->data3 & GKM_CTRL)
|
||||
{ // Move to top of console buffer
|
||||
RowAdjust = total_lines;
|
||||
RowAdjust = total_lines - page_height - 1;
|
||||
}
|
||||
else
|
||||
{ // Move cursor to start of line
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue