diff options
| author | Sidharth Kshatriya <sid.kshatriya@gmail.com> | 2021-11-15 02:44:18 +0530 |
|---|---|---|
| committer | Sidharth Kshatriya <sid.kshatriya@gmail.com> | 2021-11-15 11:11:28 +0530 |
| commit | dd923910369e52da6fd8722fd0f878efa10f0e4f (patch) | |
| tree | b36ac9d129cd5abde99e187eaa3c3c2e3ec6905b /src/string_utils.cc | |
| parent | e7100dc87434d933fd8268e5bf70080b627750c5 (diff) | |
Fixes #4432: JSON UI only shows stdin when connecting to an existing session
Only ui type Terminal is intended to be a user interactive session.
If your ui type is not Terminal, don't worry about making
the tty your stdin if fd 0 is not a tty.
This allows json-rpc commands sent via stdin to be acted up rather
than sent to a fifo (which is the default behavior for kakoune).
Does not change the behavior for Terminal ui sessions
Diffstat (limited to 'src/string_utils.cc')
0 files changed, 0 insertions, 0 deletions
