Christian Brabandt wrote: > On So, 30 Jul 2017, Bram Moolenaar wrote: > > > Patch 8.0.0813 > > Problem: Cannot use Vim commands in a terminal window while the job is > > running. > > Solution: Implement Terminal Normal mode. > > Files: src/terminal.c, src/proto/terminal.pro, src/main.c, > > src/screen.c, > > src/normal.c, src/option.c, runtime/doc/terminal.txt > > Thanks. Seems to work fine for my quick test. > > Two things I noticed, not sure if either of them classifies as bug: > > * CTRL-L does clear the last output. Not sure if this is intended or > not. I am okay with it, its just unexpected. Using <C-W>N<C-L> works > okay.
What do you mean with "the last output"? It's up to the job to handle CTRL-L typed in the terminal window. Bash would clear the window. > * Switching to terminal normal mode shifts the window, because the > sign column is applied to it, while in terminal mode, it isn't > shown. That gives a strange shifting effect. (Test with :set > signcolumn=yes, press <C-W> N A) I think this is to be expected. We could show the signcolumn when the job is active, but it would not contain anything. You can also set 'foldcolumn' and even fold some lines. Going out of Terminal mode hides that. So you can create a mess if you want to... -- Yah, well, we had to carve our electrons out of driftwood we'd find. In the winter. Uphill. Both ways. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
