-
-
Notifications
You must be signed in to change notification settings - Fork 713
Description
I have the following config (relevant parts):
filter_mode_shell_up_key_binding = "session"
inline_height_shell_up_key_binding = 10
auto_hide_height = 20
show_help = false
Basically, I want Ctrl+R to display the full 40-line UI with global search, and the up key to show a minimalistic 10-line session history by default, as I find the full UI to be too distracting when you just want to replay the previous command.
The issue is that when you press the up key right after starting the session, Atuin will erase the shell prompt, and display... nothing else, as the list of commands is empty and the S>
cursor is not shown. Typing text doesn't show anything either until you press Enter. This is quite disturbing IMO, I didn't even understand what's happening at first.
Here, I press up/down two times (Atuin shows an empty screen, this shows the issue), then I run two commands, then I press up again, at which point Atuin shows some UI:
I can try to fix this if you'd like, but I don't know what behavior you'd prefer. Showing something like S> (empty)
for instance?
`atuin doctor` output
{
"atuin": {
"version": "18.8.0",
"sync": null,
"sqlite_version": "3.46.0"
},
"shell": {
"name": "bash",
"default": "bash",
"plugins": [
"atuin",
"bash-preexec"
],
"preexec": "bash-preexec"
},
"system": {
"os": "Ubuntu",
"arch": "x86_64",
"version": "24.04",
"disks": [
{
"name": "none",
"filesystem": "overlay"
},
{
"name": "drivers",
"filesystem": "9p"
},
{
"name": "/dev/sdd",
"filesystem": "ext4"
},
{
"name": "/dev/sdd",
"filesystem": "ext4"
},
{
"name": "none",
"filesystem": "overlay"
},
{
"name": "none",
"filesystem": "overlay"
},
{
"name": "none",
"filesystem": "overlay"
},
{
"name": "C:\\134",
"filesystem": "9p"
},
{
"name": "D:\\134",
"filesystem": "9p"
}
]
}
}