Hirohito Higashi wrote:

> @brammool 
> 
> This is proposal specification.
> 
> - Make the `'termwintype'` (Current name 'termmode') option **global**.
> - Above option affects the behavior when ":terminal" or "term_start()" is 
> executed.
> - If change above option in terminal window, it will not change a current 
> using virtual console.
> - When ":terminal" is executed, we can specify the virtual console to be used 
> with "++type=".
>   (`term_start()` is specified by "term_type")
> - Add "termtype" to `job_info()`.
> - To get term_type of terminal window, do as follows:
>   `let term_type = job_info(term_getjob("")).term_type`

We may have to to use tty_type for this, since "termsig" is used for the
terminating signal, and we already have tty_in and tty_out.

Perhaps the argument for term_start() should then be tty_type instead of
term_type?

> Note:
> Various names are provisional.
> The original idea is from @ichizok .

It sounds good to me.

Using ++type=winpty and ++type=conpty is longer than using ++winpty and
++conpty, but it's consistent with other options given to term_start().
And it should be typed only infrequently.

-- 
Biting someone with your natural teeth is "simple assault," while biting
someone with your false teeth is "aggravated assault."
                [real standing law in Louisana, United States of America]

 /// 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.

Raspunde prin e-mail lui