Bug 452126 - Lack "Shell integration" which enables advanced features.
Summary: Lack "Shell integration" which enables advanced features.
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-31 20:27 UTC by shenlebantongying
Modified: 2022-12-30 11:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shenlebantongying 2022-03-31 20:27:14 UTC
SUMMARY

konsole lacks a new type of terminal functionality called "Shell integration".

OBSERVED RESULT

The shell inside the terminal emulator is just a stream of chars, the emulator cannot know what is happening semantically. "Shell integration" is to gain extra insight into the strings within the terminal.

It can enable a lot of previously unimplementable features, and there are a lot. Please see the links below for more details.

EXPECTED RESULT:

Some kind of framework or API or examples to implement them strategically. 

These 3 features probably are the easiest and pretty useful. They can be shipped as a "starter" if the shell integration is ever going to happen.

+ Command history in sidebar
+ Recent Directories in sidebar (when click => do a `cd` )
+ Jump between promotes (jumping through the scrollback to the start of an earlier command)
+ Select all output of the last command

LINKS:

** iterm2 
open-source macOS software, but maybe the first that come up with this idea
https://iterm2.com/documentation-shell-integration.html

** wezterm
https://wezfurlong.org/wezterm/shell-integration.html

** Kitty
https://sw.kovidgoyal.net/kitty/shell-integration/

** vscode
https://code.visualstudio.com/docs/editor/integrated-terminal#_shell-integration

** intellij idea (can only do history recording now, )
https://web.archive.org/web/20220218091836/https://www.jetbrains.com/help/idea/terminal-emulator.html#d5264a0e