blinksh / blinksh/blink

shell command-line history should (maybe?) be per-shell not app-wide.

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
feature icebox
Dominant language
Swift
Stars
6.9k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

scenario:

i open blink, and mosh to a remote server. this is session 1.

i create a new blink shell by double-tapping, and mosh to another remote server. this is session 2.

if i then log out of the remote server in session 1 (eg with ^d), i am returned to that session's blink prompt. i then press cursor-up to retrieve the last command from the history, but i get the command from session 2 rather than that from session 1.

i think this is a little bit non-intuitive, and would expect the history to be per-shell, as this is how a conventional "screen" session (or desktop full of xterms/iterm2 sessions) works.

this is a low-priority issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by locating the shell history handling and compare how history is stored across the two Blink sessions; done means cursor-up after logging out in session 1 retrieves session 1's last command rather than session 2's.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell, swift
Domain
cli, mobile-dev
Issue type
Bug
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.