Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
unxed committed Jan 15, 2025
1 parent da95d32 commit a49f29e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions WinPort/src/Backend/TTY/TTYInputSequenceParserExts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
#include "TTYInputSequenceParser.h"
#include "Backend.h"

#define KITTY_MOD_SHIFT 1
#define KITTY_MOD_ALT 2
#define KITTY_MOD_CONTROL 4
#define KITTY_MOD_CAPSLOCK 64
#define KITTY_MOD_NUMLOCK 128
#define KITTY_EVT_KEYUP 3

size_t TTYInputSequenceParser::ParseX10Mouse(const char *s, size_t l)//(char action, char col, char raw)
{
/*
Expand Down Expand Up @@ -128,6 +121,13 @@ size_t TTYInputSequenceParser::TryParseAsKittyEscapeSequence(const char *s, size

// todo: add more keys. all needed by far2l seem to be here, but kitty supports much more

#define KITTY_MOD_SHIFT 1
#define KITTY_MOD_ALT 2
#define KITTY_MOD_CONTROL 4
#define KITTY_MOD_CAPSLOCK 64
#define KITTY_MOD_NUMLOCK 128
#define KITTY_EVT_KEYUP 3

/** 32 is enough without "text-as-code points" mode, but should be increased if this mode is enabled */
const int max_kitty_esc_size = 32;

Expand Down

0 comments on commit a49f29e

Please sign in to comment.