Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset ead72f2 in mainline for uspace/srv/hid/output/proto/vt100.c


Ignore:
Timestamp:
2021-07-19T18:14:09Z (4 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
9eb8d12
Parents:
e116461
Message:

Fix mapping of blue color on ECMA/VT-100

Don't wanna be seeing red when playing Tetris

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/proto/vt100.c

    re116461 read72f2  
    11/*
     2 * Copyright (c) 2021 Jiri Svoboda
    23 * Copyright (c) 2011 Martin Decky
    34 * All rights reserved.
     
    6566static sgr_color_index_t color_map[] = {
    6667        [COLOR_BLACK]   = CI_BLACK,
    67         [COLOR_BLUE]    = CI_RED,
     68        [COLOR_BLUE]    = CI_BLUE,
    6869        [COLOR_GREEN]   = CI_GREEN,
    6970        [COLOR_CYAN]    = CI_CYAN,
Note: See TracChangeset for help on using the changeset viewer.