]> git.lizzy.rs Git - micro.git/commit
Initial support for terminal within micro
authorZachary Yedidia <zyedidia@gmail.com>
Thu, 4 Jan 2018 22:03:08 +0000 (17:03 -0500)
committerZachary Yedidia <zyedidia@gmail.com>
Thu, 4 Jan 2018 22:03:08 +0000 (17:03 -0500)
commit9094c174ccdbe7eafa444fad93e80adb075d197e
tree6aae3ce746a9043dda95fe7a00c799117da13a77
parenta814677b51504a118647b26307d565aefb74a385
Initial support for terminal within micro

This commit adds beta support for running a shell or other program
within a micro view.

Use the `> term` command. With no arguments, `term` will open your
shell in interactive mode. You can also run an arbitrary command
with `> term cmd` and the command with be executed and output
shown. One issue at the moment is the terminal window will close
immediately after the process dies.

No mouse events are sent to programs running within micro.

Ref #243
cmd/micro/buffer.go
cmd/micro/colorscheme.go
cmd/micro/command.go
cmd/micro/lineArray.go
cmd/micro/messenger.go
cmd/micro/micro.go
cmd/micro/scrollbar.go
cmd/micro/statusline.go
cmd/micro/tab.go
cmd/micro/view.go