pfitzseb/REPLTreeViews.jl

screen doesn't clear/redraw properly when hierarchy is taller than window

Opened this issue · 0 comments

i have an array in a dict in a dict in a dict. the first couple times i expand the redraw occurs on top of itself, but eventually the hierarchy is taller then the window, and then there is a bunch of repetition. this is with GNU bash 3.2.56 on mac os catalina and julia 1.5.

julia> @ishow d
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
Dict{String,Any}
 ▶  clean_frames
 ▶  fit_before_frames
 ▶  response_frames
 ▶  stim_chan
 ▶  skip_last_frames
 ▶  fit_after_frames
 ▶  fit_after_sec
 ▶  skip_first_frames
 ▶  bleach_frames
 ▶  pval_thresh
 ▶  stim_frame_num
 ▶  baseline_frames
 ▶  onofftime_frames
 ▶  fit_kw
 ▶  response_length_sec
 ▶  version
 ▶  well
 ▶  file_movie
 ▶  bleach_correct
 ▶  frame_rate
 ▶  file_green_img
 ▶  fit_before_sec
 ▶  response_length_frames
 ▶  trans_ref_texture
 ▶  bleach_sec
 ▶  construct
 ▶  frame_chan
 ▶  naps
 ▶  snr_filter_sec
 ▶  file_trans_img
 ▶  num_snr_filter_frames
 ▶  spatial_filter
 ▶  sweep_shift
 ▼  responsive_traces
    ▼  Dict{String,Any}
       ▶  pix_bleach_sigmas
       ▶  bleach_tick_weights
       ▶  bkg_level
       ▶  bkg_sigmas
       ▶  cell_subscripts
       ▶  bleach_frames
       ▶  fit_cell
       ▶  pix_bleach_parameters
       ▶  bkg_parameters
       ▶  pix_bleach_functions
       ▶  bkg_function
       ▼  fit_pix
          ▼  Dict{String,Any}
             ▶  bkg_norm_ave_amp
             ▶  bkg_norm_ave_bleach_function
             ▶  bkg_norm_ave_offtau_sigma
             ▶  bkg_norm_ontau_sigma
             ▶  snr_response_frames
             ▶  bkg_norm_ave_bleach_value
             ▶  bkg_norm_ave_dFoF0
             ▶  bkg_norm_ave_snr
             ▶  bkg_norm_ontau
             ▶  bkg_norm_baseline
             ▶  bkg_norm_amp
            [▶] bkg_norm_ave_t0
             ▶  bkg_norm_ave_bleach_sigmas
             ▶  stim_frame_num
             ▶  bkg_norm_offtau_sigma
             ▶  bkg_norm_amp_sigma
             ▶  onofftime_frames
             ▶  bkg_norm_ave_amp_sigma
             ▶  bkg_norm_ave_ontime
             ▶  bkg_norm_offtau
             ▶  bleach_bkg_norm_ave_filt_trace
             ▶  bkg_norm_ave_offtime
             ▶  bkg_norm_ave_bleach_parameters
             ▶  bkg_norm_ave_offtau
             ▶  bkg_norm_ave_ontau_sigma
             ▶  bkg_norm_ave_t0_sigma
             ▶  bleach_bkg_norm_ave_trace
             ▶  bkg_norm_ave_trace
             ▶  bkg_norm_snr
             ▶  bkg_norm_ave_ontau
             ▶  bkg_norm_dFoF0
             ▶  bkg_norm_ave_baseline
             ▶  bkg_norm_ontime
             ▶  snr_baseline_frames
             ▶  bkg_norm_offtime
       ▶  bkg_frames
       ▶  img_noise
       ▶  cell_indices
       ▶  pix_index
       ▶  pix_bleach
       ▶  img_F0
       ▶  img_pval
       ▶  bkg_trace
       ▶  cell_centroids
 ▶  topath
 ▶  ttl_relative_threshold
 ▶  frompath
 ▶  background_method