jmdejong / jmdejong/ratuil

Key codes indistinguishable from pasted text

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
13
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Because the codes for keys that do not directly have a character assigned to them are strings, they don't can not be distinguished from valid text.

This could be solved by adding a 'Key' type, and make all keycode constants of that type, instead of strings.
Instances type would only need one property: the name, which is the same the current string vaue

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the keycode constants and the code that currently represents non-character keys as strings. Define what the proposed Key type must distinguish from valid pasted text, then trace all uses of those constants to determine the affected behavior and verification needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.