Skip to content

Commit 52d4db4

Browse files
committed
Rename to Upterm.
1 parent eea1063 commit 52d4db4

File tree

11 files changed

+41
-41
lines changed

11 files changed

+41
-41
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If not, before reporting the issue you'll need to gather some information by fol
88

99
```bash
1010
git pull
11-
rm -r "/Applications/Black Screen"*
11+
rm -r "/Applications/Upterm"*
1212
npm run pack
1313
```
1414
2. If the bug is still present, [open an issue](issues/new).

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
[![Join the chat at https://gitter.im/shockone/black-screen](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/shockone/black-screen?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2-
[![Build Status](https://travis-ci.org/vshatskyi/black-screen.svg?branch=master)](https://travis-ci.org/vshatskyi/black-screen)
1+
[![Join the chat at https://gitter.im/railsware/upterm](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/railsware/upterm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
2+
[![Build Status](https://travis-ci.org/railsware/upterm.svg?branch=master)](https://travis-ci.org/railsware/upterm)
33

44
What Is It?
55
-----------
66

7-
Black Screen is an IDE in the world of terminals. Strictly speaking, it's both a
7+
Upterm is an IDE in the world of terminals. Strictly speaking, it's both a
88
terminal emulator and an *interactive* shell based on [Electron](http://electron.atom.io/).
99
Also, unlike most of the emulators you can meet nowadays it uses HTML and CSS for its UI (exactly as Atom does),
1010
which means we can [stop misusing unicode characters](https://github.com/vim-airline/vim-airline)
@@ -14,7 +14,7 @@ and make a better looking terminal with appropriate tools.
1414

1515
###### Autocompletion
1616

17-
Black Screen shows the autocompletion box as you type and tries to be smart about what to suggest.
17+
Upterm shows the autocompletion box as you type and tries to be smart about what to suggest.
1818
Often you can find useful additional information on the right side of the autocompletion, e.g. expanded alias value,
1919
history substitutions for `!!`, command descriptions, value of the previous directory (`cd -`), etc.
2020

@@ -28,21 +28,21 @@ Install
2828
###### MacOS
2929

3030
```bash
31-
brew cask install black-screen
31+
brew cask install upterm
3232
```
3333

34-
Beware that the version in Homebrew might be outdated. Visit the [releases](https://github.com/railsware/black-screen/releases) page to download the latest version.
34+
Beware that the version in Homebrew might be outdated. Visit the [releases](https://github.com/railsware/upterm/releases) page to download the latest version.
3535

3636
###### Linux
3737

38-
* `git clone https://github.com/railsware/black-screen.git`
39-
* `cd black-screen`
38+
* `git clone https://github.com/railsware/upterm.git`
39+
* `cd upterm`
4040
* `npm install`
4141
* `npm run pack`
4242

4343
###### Windows
4444

45-
Windows is not supported at the moment. Consider voting for the [Windows Support](https://github.com/railsware/black-screen/issues/800) Issue.
45+
Windows is not supported at the moment. Consider voting for the [Windows Support](https://github.com/railsware/upterm/issues/800) Issue.
4646

4747
Technologies
4848
------------
@@ -69,7 +69,7 @@ Development Setup
6969
------------
7070

7171
```bash
72-
git clone https://github.com/shockone/black-screen.git && cd black-screen
72+
git clone https://github.com/railsware/upterm.git && cd upterm
7373
npm start
7474
```
7575
Instructions are available for [debugging the application in Visual Studio Code](docs/vscodedebugging.md).

docs/vscodedebugging.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Debugging black-screen in Visual Studio Code
1+
# Debugging Upterm in Visual Studio Code
22

33
Microsoft's open source Visual Studio Code (vscode) provides debugging for Typescript based applications.
44

5-
The recommended steps for debugging black-screen in vscode are described in the steps below.
5+
The recommended steps for debugging Upterm in vscode are described in the steps below.
66

77
## Step 1. Install the Debugger for Chrome Extension
88

@@ -96,7 +96,7 @@ Note. On Windows the `runtimeExecutable` parameter should be changed to:
9696

9797
## Step 3. Build the project
9898

99-
After first install of black-screen and after each time black-screen is modified the project needs to be re-built before launching a debug session.
99+
After first install of Upterm and after each time Upterm is modified the project needs to be re-built before launching a debug session.
100100

101101
To build the project in vscode open the activity search box by selecting the `⌘ + p` keys on Mac OS (or `Ctrl + p` on Linux and Windows), and then enter `task prestart`. Or alternatively from the command line run `npn run prestart`.
102102

@@ -106,7 +106,7 @@ Note. If the code has been modified and no updates to dependent node modules wer
106106

107107
## Step 4. Debug the project
108108

109-
Source maps are enabled for the black-screen project which allows the Typescript code to be debugged. Source maps map the Typescript code to the generated (transpiled) Javascript code, with the Javascript code being what's executed by node.js.
109+
Source maps are enabled for the Upterm project which allows the Typescript code to be debugged. Source maps map the Typescript code to the generated (transpiled) Javascript code, with the Javascript code being what's executed by node.js.
110110

111111
To enter debugging mode select the <b>Debug</b> icon on the left hand side menu. Or alternatively, select the `Shift + ⌘ + d` (or `Shift + Ctrl + d`) keys.
112112

housekeeping/deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
git config user.name "Travis CI"
33
git config user.email "[email protected]"
44
npm version patch -m "Bump version to %s. [ci skip]"
5-
git push --quiet "https://$GH_TOKEN:[email protected]/vshatskyi/black-screen.git" HEAD:master --tags > /dev/null 2>&1
5+
git push --quiet "https://$GH_TOKEN:[email protected]/railsware/upterm.git" HEAD:master --tags > /dev/null 2>&1
66
npm run release
77

88
NEW_RELEASE_TAG=$(git describe --abbrev=0)
@@ -11,13 +11,13 @@ echo "($?) Current release tag: $NEW_RELEASE_TAG"
1111
PREVIOUS_RELEASE_TAG=$(git describe --abbrev=0 --tags "$NEW_RELEASE_TAG^")
1212
echo "($?) Previous release tag: $PREVIOUS_RELEASE_TAG"
1313

14-
NEW_RELEASE_ID=$(curl "https://$GH_TOKEN:[email protected]/repos/vshatskyi/black-screen/releases/latest" | python -c "import json,sys; obj=json.load(sys.stdin); print obj['id'];")
14+
NEW_RELEASE_ID=$(curl "https://$GH_TOKEN:[email protected]/repos/railsware/upterm/releases/latest" | python -c "import json,sys; obj=json.load(sys.stdin); print obj['id'];")
1515
echo "($?) New release draft ID: $NEW_RELEASE_ID"
1616

1717
NEW_RELEASE_BODY=$(git log --oneline --no-merges $NEW_RELEASE_TAG...$PREVIOUS_RELEASE_TAG | python -c "import json,sys; print json.dumps(sys.stdin.read());")
1818
echo "($?) Body:"
1919
echo $NEW_RELEASE_BODY
2020

21-
curl --request PATCH "https://$GH_TOKEN:[email protected]/repos/vshatskyi/black-screen/releases/$NEW_RELEASE_ID" \
21+
curl --request PATCH "https://$GH_TOKEN:[email protected]/repos/railsware/upterm/releases/$NEW_RELEASE_ID" \
2222
-H "Content-Type: application/json" \
2323
-d "{\"body\": $NEW_RELEASE_BODY}"

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "black-screen",
3-
"productName": "Black Screen",
2+
"name": "upterm",
3+
"productName": "Upterm",
44
"description": "A terminal emulator for the 21st century.",
55
"version": "0.2.146",
66
"main": "compiled/src/main/Main.js",
77
"author": "Volodymyr Shatskyi <[email protected]>",
88
"repository": {
99
"type": "git",
10-
"url": "https://github.com/shockone/black-screen.git"
10+
"url": "https://github.com/railsware/upterm.git"
1111
},
1212
"bugs": {
13-
"url": "https://github.com/shockone/black-screen/issues"
13+
"url": "https://github.com/railsware/upterm/issues"
1414
},
1515
"engineStrict": true,
1616
"engines": {
@@ -88,6 +88,6 @@
8888
},
8989
"license": "MIT",
9090
"build": {
91-
"appId": "com.github.railsware.black-screen"
91+
"appId": "com.github.railsware.upterm"
9292
}
9393
}

src/Enums.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ export enum KeyboardAction {
136136
// view commands
137137
viewReload,
138138
viewToggleFullScreen,
139-
// black screen commands
140-
blackScreenHide,
141-
blackScreenQuit,
142-
blackScreenHideOthers,
139+
// Upterm commands
140+
uptermHide,
141+
uptermQuit,
142+
uptermHideOthers,
143143
// developer
144144
developerToggleTools,
145145
developerToggleDebugMode,

src/shell/CommandExecutor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class CommandExecutor {
114114
if (applicableExecutors.length) {
115115
return new applicableExecutors[0](job).startExecution();
116116
} else {
117-
throw `Black Screen: command "${job.prompt.commandName}" not found.\n`;
117+
throw `Upterm: command "${job.prompt.commandName}" not found.\n`;
118118
}
119119
}
120120
}

src/utils/Common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export function escapeFilePath(unescaped: string): string {
285285
return unescaped.replace(/([\s'"\[\]<>#$%^&*()])/g, "\\$1");
286286
}
287287

288-
const baseConfigDirectory = Path.join(homeDirectory, ".black-screen");
288+
const baseConfigDirectory = Path.join(homeDirectory, ".upterm");
289289
export const presentWorkingDirectoryFilePath = Path.join(baseConfigDirectory, "presentWorkingDirectory");
290290
export const historyFilePath = Path.join(baseConfigDirectory, "history");
291291
export const windowBoundsFilePath = Path.join(baseConfigDirectory, "windowBounds");

src/views/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8"/>
5-
<title>Black Screen</title>
5+
<title>Upterm</title>
66

77
<script>require("../../src/views/Main.js")</script>
88

src/views/keyevents/Keybindings.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,17 +197,17 @@ export const KeybindingsForMenu: KeybindingMenuType[] = [
197197
action: KeyboardAction.viewToggleFullScreen,
198198
accelerator: "Ctrl+Cmd+F",
199199
},
200-
// black screen commands
200+
// Upterm commands
201201
{
202-
action: KeyboardAction.blackScreenHide,
202+
action: KeyboardAction.uptermHide,
203203
accelerator: "CmdOrCtrl+H",
204204
},
205205
{
206-
action: KeyboardAction.blackScreenQuit,
206+
action: KeyboardAction.uptermQuit,
207207
accelerator: "CmdOrCtrl+Q",
208208
},
209209
{
210-
action: KeyboardAction.blackScreenHideOthers,
210+
action: KeyboardAction.uptermHideOthers,
211211
accelerator: "CmdOrCtrl+Alt+H",
212212
},
213213
// developer

src/views/menu/Menu.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,33 @@ export function buildMenuTemplate(
1010
): Electron.MenuItemOptions[] {
1111
const template: Electron.MenuItemOptions[] = [
1212
{
13-
label: "Black Screen",
13+
label: "Upterm",
1414
submenu: [
1515
{
16-
label: "About Black Screen",
16+
label: "About Upterm",
1717
role: "about",
1818
},
1919
{
2020
type: "separator",
2121
},
2222
{
23-
label: "Hide Black Screen",
24-
accelerator: getAcceleratorForAction(KeyboardAction.blackScreenHide),
23+
label: "Hide Upterm",
24+
accelerator: getAcceleratorForAction(KeyboardAction.uptermHide),
2525
click: () => {
2626
app.hide();
2727
},
2828
},
2929
{
3030
label: "Hide Others",
31-
accelerator: getAcceleratorForAction(KeyboardAction.blackScreenHideOthers),
31+
accelerator: getAcceleratorForAction(KeyboardAction.uptermHideOthers),
3232
role: "hideothers",
3333
},
3434
{
3535
type: "separator",
3636
},
3737
{
3838
label: "Quit",
39-
accelerator: getAcceleratorForAction(KeyboardAction.blackScreenQuit),
39+
accelerator: getAcceleratorForAction(KeyboardAction.uptermQuit),
4040
click: () => {
4141
app.quit();
4242
},
@@ -214,7 +214,7 @@ export function buildMenuTemplate(
214214
label: "GitHub Repository",
215215
click: () => {
216216
/* tslint:disable:no-unused-expression */
217-
remote.shell.openExternal("https://github.com/shockone/black-screen");
217+
remote.shell.openExternal("https://github.com/railsware/upterm");
218218
},
219219
},
220220
],

0 commit comments

Comments
 (0)