lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.27k stars 162 forks source link

zsh history stdout is aggressively cleaned by tilda #378

Open rjshrjndrn opened 5 years ago

rjshrjndrn commented 5 years ago

Hi, Thank you for the awesome terminal It's my daily driver. But I've got a small concern. Tilda is not keeping any history, say I have a 1000 line stdout, and when I scrollback may be 20 lines will be there. But all others will be gone. This is a major problem if you just logged out of an ssh session or things like that.

Thank you.

rjshrjndrn commented 5 years ago
tilda_config_version="1.4.1"
# command=""
font="Monospace 13"
key="<Primary>space"
addtab_key="<Shift><Control>t"
fullscreen_key="F11"
toggle_transparency_key="F12"
toggle_searchbar_key="<Shift><Control>f"
closetab_key="<Shift><Control>w"
nexttab_key="<Control>Page_Down"
prevtab_key="<Control>Page_Up"
movetableft_key="<Shift><Control>Page_Up"
movetabright_key="<Shift><Control>Page_Down"
gototab_1_key="<Alt>1"
gototab_2_key="<Alt>2"
gototab_3_key="<Alt>3"
gototab_4_key="<Alt>4"
gototab_5_key="<Alt>5"
gototab_6_key="<Alt>6"
gototab_7_key="<Alt>7"
gototab_8_key="<Alt>8"
gototab_9_key="<Alt>9"
gototab_10_key="<Alt>0"
copy_key="<Shift><Control>c"
paste_key="<Shift><Control>v"
quit_key="<Shift><Control>q"
title="Tilda"
background_color="white"
# working_dir=""
web_browser="x-www-browser"
increase_font_size_key="<Control>equal"
decrease_font_size_key="<Control>minus"
normalize_font_size_key="<Control>0"
# show_on_monitor=""
word_chars="-A-Za-z0-9,./?%&#:_"
lines=50000
max_width=1824
max_height=889
min_width=1
min_height=1
x_pos=48
y_pos=34
tab_pos=0
expand_tabs=true
show_single_tab=false
backspace_key=0
delete_key=1
d_set_title=3
command_exit=2
scheme=6
slide_sleep_usec=20000
animation_orientation=0
timer_resolution=200
auto_hide_time=200
on_last_terminal_exit=2
prompt_on_exit=false
palette_scheme=0
non_focus_pull_up_behaviour=0
cursor_shape=0
# show_on_monitor_number=0
# title_max_length_flag=false
title_max_length=25
palette = {10280, 10794, 13878, 65535, 23644, 22359, 23130, 63479, 36494, 62451, 63993, 40349, 22359, 51143, 65535, 65535, 27242, 49601, 39578, 60909, 65278, 61937, 61937, 61680, 26728, 26728, 26728, 65535, 23644, 22359, 23130, 63479, 36494, 62451, 63993, 40349, 22359, 51143, 65535, 65535, 27242, 49601, 39578, 60909, 65278, 61937, 61937, 61680}
scrollbar_pos=1
back_red=0
back_green=11141
back_blue=13762
text_red=33423
text_green=38010
text_blue=38666
cursor_red=65535
cursor_green=65535
cursor_blue=65535
scroll_history_infinite=false
scroll_on_output=true
notebook_border=false
antialias=true
scrollbar=false
grab_focus=true
above=true
notaskbar=true
bold=true
blinks=true
scroll_on_key=true
bell=false
run_command=false
pinned=true
animation=false
hidden=true
set_as_desktop=false
centered_horizontally=true
centered_vertically=false
enable_transparency=false
# double_buffer=false
auto_hide_on_focus_lost=true
auto_hide_on_mouse_leave=false
title_behaviour=2
inherit_working_dir=true
command_login_shell=false
start_fullscreen=false
confirm_close_tab=false
# image=""
# scroll_background=false
# use_image=false
transparency=0
back_alpha=52415
rjshrjndrn commented 5 years ago

I think I found the solution. Scroll on output was disabled. Thank you.

rjshrjndrn commented 5 years ago

Sorry that was not the solution.

steps to recreate the issue 1.while true; do ls;done press ctrl+c after sometime

  1. clear do clear twice

and scroll up.

rjshrjndrn commented 5 years ago

Does this behavior have to do anything with zsh clear command? because I have expected behavior (scroll terminal) with ctrl+l key combo.

MatthewScholefield commented 4 years ago

Yes, as can be seen here, this is roughly the expected behavior. Note that if anything the only bug is that tilda doesn't clear the last 10 lines or so when getting cleared via clear.