Changeset 899bdfd in mainline for uspace/lib/console/src/con_srv.c


Ignore:
Timestamp:
2024-09-12T13:14:20Z (3 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
4c2339b
Parents:
dd50aa19
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-09-12 11:47:56)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-09-12 13:14:20)
Message:

Terminal scrolling and resizing support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/console/src/con_srv.c

    rdd50aa19 r899bdfd  
    5353                ipc_set_arg4(icall, event->ev.key.mods);
    5454                ipc_set_arg5(icall, event->ev.key.c);
    55                 break;
     55                return EOK;
    5656        case CEV_POS:
    5757                ipc_set_arg2(icall, (event->ev.pos.pos_id << 16) | (event->ev.pos.type & 0xffff));
     
    5959                ipc_set_arg4(icall, event->ev.pos.hpos);
    6060                ipc_set_arg5(icall, event->ev.pos.vpos);
    61                 break;
    62         default:
    63                 return EIO;
    64         }
    65 
    66         return EOK;
     61                return EOK;
     62        case CEV_RESIZE:
     63                ipc_set_arg2(icall, 0);
     64                ipc_set_arg3(icall, 0);
     65                ipc_set_arg4(icall, 0);
     66                ipc_set_arg5(icall, 0);
     67                return EOK;
     68        }
     69
     70        return EIO;
    6771}
    6872
Note: See TracChangeset for help on using the changeset viewer.