Skip to content

[FEATURE] Let the "Quit/Exit" command also be found by exit #279

@ViToni

Description

@ViToni

Feature Description

The "Quit/Exit" command only be found by "quit" abut would be helpful to be found also exit.

Problem Statement

For a new user (as me) it might seem difficult to close Sol.
After trying exit without any result I tried quit which gave me the "Quit/Exit" command.

Proposed Solution

Looking through the code it seems it could be accomplished by just adding an alias.

@ src/stores/items.tsx:643 @ export function createBaseItems(store: IRootStore) {
            id: "quit_sol",
            icon: "💀",
            name: "Quit/Exit Sol",
            alias: "exit",
            type: ItemType.CONFIGURATION,
            callback: async () => {
                solNative.quit();

Unfortunately I cannot get my setup to run to validate the solution, but I'd be more than happen to provide a PR in the hope that it does work like I'd expect it to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions