imsnif / imsnif/AmoebaTerm

Better pane focus indication

Open
#13 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, electron-terminal-window changes its border color to red when focused.
This doesn't look great when two windows are adjacent. It also relies on BrowserWindow.on('focus/blur') which causes some issues when switching windows fast.

Would be great if electron-terminal-window would expose an API to let you change the color of every one of its four sides, and then some other library (screen-grid?) would use it to make sure adjacent windows only have one line, and that the focused window would be will be one color (red?) while the other panes are another (green?).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting electron-terminal-window's existing BrowserWindow focus/blur handling and how screen-grid uses pane borders. Define the per-side color API and verify that adjacent panes share only one visible line, with distinct focused and unfocused colors; done means the behavior works reliably during rapid window switching.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.