wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.82k stars 798 forks source link

Does scaling multiple times create a lot of white space? #5843

Open yaolifeng0629 opened 3 months ago

yaolifeng0629 commented 3 months ago

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

20240203-110809-5046fc22

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

1721746764163

To Reproduce

When the output has too much information, zoom frequently, and this problem will appear the next time you focus

Configuration

local wezterm = require('wezterm')
local gpu_adapters = require('utils.gpu_adapter')
local colors = require('colors.custom')

return {
   -- automatically_reload_config = true,
   -- animation_fps = 60,
   -- max_fps = 60,
   exit_behavior = "CloseOnCleanExit",
   -- status_update_interval = 1000,
   -- front_end = 'WebGpu',
   -- webgpu_power_preference = 'HighPerformance',
   -- webgpu_preferred_adapter = gpu_adapters:pick_best(),

   -- color scheme
    -- colors = colors,

   -- color_scheme = "zenbones_dark",
   -- color_scheme = "FishTank",
   color_scheme = "arcoiris",
   -- color_scheme = "Blue Matrix",
   -- color_scheme = "Cobalt2",

   -- background
   background = {
      {
         source = { File = wezterm.GLOBAL.background },
         horizontal_align = 'Center',
      },
      {
         source = { Color = colors.background },
         height = '100%',
         width = '100%',
         opacity = 0.96,
      },
   },

   -- scrollbar
   -- enable_scroll_bar = true,

   -- tab bar
   enable_tab_bar = true,
   hide_tab_bar_if_only_one_tab = false,
   use_fancy_tab_bar = true,
   tab_max_width = 30,
   show_tab_index_in_tab_bar = false,
   switch_to_last_active_tab_when_closing_tab = true,

   -- window
   window_padding = {
      left = 5,
      right = 10,
      top = 12,
      bottom = 7,
   },
   window_close_confirmation = 'NeverPrompt',
   window_decorations = "INTEGRATED_BUTTONS|RESIZE",
   integrated_title_button_style = "Windows",
   integrated_title_button_color = "auto",
   integrated_title_button_alignment = "Right",
   default_cursor_style = 'BlinkingBar',
   default_cwd = "D:\\Projects\\PersonalProject",
   default_prog = { "pwsh", "-NoLogo" },
   window_frame = {
      -- active_titlebar_bg = '#090909',
      active_titlebar_bg = "#0F2536",
      inactive_titlebar_bg = "#0F2536",
      -- font = fonts.font,
      -- font_size = fonts.font_size,
   },
   inactive_pane_hsb = {
      saturation = 0.7,
      brightness = 0.65,
   },
}

Expected Behavior

Normal and no blank lines

Logs

No response

Anything else?

No response

yaolifeng0629 commented 3 months ago

image

jutbin commented 2 months ago

I'm wondering if you have solved this problem? I have the same problem.

jutbin commented 2 months ago

@yaolifeng0629 I'm wondering if you have solved this problem? I have the same problem

yaolifeng0629 commented 2 months ago

@yaolifeng0629 I'm wondering if you have solved this problem? I have the same problem

@jutbin Not yet. I used other terminals, xTerminal or WindTerm

jutbin commented 2 months ago

thank you