Fixed default shell
This commit is contained in:
parent
bc306ef8ed
commit
240f3d8754
3 changed files with 2 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
use alacritty_terminal::{
|
use alacritty_terminal::{
|
||||||
config::{Config, Program, PtyConfig},
|
config::{Config, PtyConfig},
|
||||||
event::{Event as AlacTermEvent, EventListener, Notify},
|
event::{Event as AlacTermEvent, EventListener, Notify},
|
||||||
event_loop::{EventLoop, Msg, Notifier},
|
event_loop::{EventLoop, Msg, Notifier},
|
||||||
grid::Scroll,
|
grid::Scroll,
|
||||||
|
@ -126,7 +126,7 @@ impl Terminal {
|
||||||
.detach();
|
.detach();
|
||||||
|
|
||||||
let pty_config = PtyConfig {
|
let pty_config = PtyConfig {
|
||||||
shell: Some(Program::Just("zsh".to_string())),
|
shell: None, //Use the users default shell
|
||||||
working_directory,
|
working_directory,
|
||||||
hold: false,
|
hold: false,
|
||||||
};
|
};
|
||||||
|
|
|
@ -143,10 +143,6 @@ impl Element for TerminalEl {
|
||||||
|
|
||||||
let content = term.renderable_content();
|
let content = term.renderable_content();
|
||||||
|
|
||||||
//We have a 'SelectionRange' struct to work with,
|
|
||||||
//Allows us to query start, end, and contains
|
|
||||||
//content.selection.unwrap()
|
|
||||||
|
|
||||||
let layout_lines = layout_lines(
|
let layout_lines = layout_lines(
|
||||||
content.display_iter,
|
content.display_iter,
|
||||||
&text_style,
|
&text_style,
|
||||||
|
|
1
styles/package-lock.json
generated
1
styles/package-lock.json
generated
|
@ -5,7 +5,6 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "styles",
|
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue