Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Nov 4, 2021

This PR has been migrated from old Barrier Github repository debauchee/barrier#1055

PR created on: 2021-02-05 by @Martin-Furter
PR last updated on: 2021-11-07

This change solves the problem with misconfigured terminal after starting a daemon. This has been reported as Issue #200 "Executing barrierc makes terminal line invisible #200".
The problem is that the parent process just calls exit(0) after starting the child process. The terminal settings have to be restored before exit.


Commented on: 2021-11-06 by @shymega

Going back through issues - I'm rebasing this against master, if it passes CI, we could merge.


Commented on: 2021-11-06 by @shymega

OK, I can't push against your branch, as its master, so I need you to rebase against master - or I could open a new PR for this. Alternatively, if you could allow access to your PR's branch, I could do it then.

EDIT: I managed to rebase against your branch. Now we wait for CI to pass.


Commented on: 2021-11-07 by @shymega

Looks like Windows builds fail - restoreTerminal isn't a member of the NonBlockingStream. I'll look into this. Interestingly, Linux builds are succeeding - so I suspect this is a Windows-only issue.

@ghost ghost added the enhancement New feature or request label Nov 10, 2021
@ghost ghost force-pushed the pr-import-1055 branch from 304b798 to c32e7c6 Compare November 10, 2021 14:43
@ghost ghost closed this Nov 17, 2021
@ghost ghost deleted the pr-import-1055 branch November 17, 2021 21:13
@p12tic p12tic restored the pr-import-1055 branch November 17, 2021 21:14
@p12tic p12tic reopened this Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants