Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

[WIP]: Add a utils function to run in terminal rather than quickfix #43

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JafarAbdi
Copy link
Contributor

@JafarAbdi JafarAbdi commented Jun 2, 2022

@JafarAbdi JafarAbdi changed the title [WIPAdd a utils function to run in terminal rather than quickfix [WIP]: Add a utils function to run in terminal rather than quickfix Jun 2, 2022
jobid = vim.fn.jobstart(cmd, {
args = args,
cwd = opts.cwd,
pty = true,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Shatur Do you know the corresponding option for Job:new? I wasn't able to enter inputs when using it, that's why I keeped jobstart

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not aware of it.

end,
})

local focus_terminal = true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: Make it an option

@Shatur Shatur marked this pull request as draft June 4, 2022 07:35
@Shatur Shatur force-pushed the master branch 2 times, most recently from db47fc0 to 0f09be3 Compare September 10, 2022 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the ability to run program in built-in terminal
2 participants