microsoft / microsoft/edit

Add close buttons to modals

Open
#231 8 comments 3 reactions 0 assignees View on GitHub
C-task
Dominant language
Rust
Stars
14.6k
Forks
734
Avg merge
8h 40m
Merged PRs (30d)
4

Description

Since dialogs are going to be re thought out then an option to consider would be to add a close button for mouse users

I've attached an image of the old DOS Borland Turbo C IDE as an example, it has the green box in the dialog and editor frames as a "Close" button.

![Image](https://github.com/user-attachments/assets/3080b25d-bdc2-4cee-9412-dea2c4e2327c)

Placement and symbol could of course be different but it would be a way to make mouse interaction more complete, but I also get that this is a TUI and the command line keyboard user is a major target

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the current dialog and modal implementation, then review how mouse interaction is handled; done means dialogs and editor frames provide a usable close button without undermining keyboard interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.