mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-26 16:37:58 +00:00
tidied up magic constants
This commit is contained in:
parent
4bd1111115
commit
d981f4a3f4
1 changed files with 4 additions and 2 deletions
|
@ -39,6 +39,8 @@ const DOWN_SEQ: &str = "\x1b[B";
|
|||
const DEFAULT_TITLE: &str = "Terminal";
|
||||
const DEBUG_TERMINAL_WIDTH: f32 = 300.;
|
||||
const DEBUG_TERMINAL_HEIGHT: f32 = 200.;
|
||||
const DEBUG_CELL_WIDTH: f32 = 5.;
|
||||
const DEBUG_LINE_HEIGHT: f32 = 5.;
|
||||
|
||||
pub mod color_translation;
|
||||
pub mod gpui_func_tools;
|
||||
|
@ -151,8 +153,8 @@ impl Terminal {
|
|||
let size_info = SizeInfo::new(
|
||||
DEBUG_TERMINAL_WIDTH,
|
||||
DEBUG_TERMINAL_HEIGHT,
|
||||
5.,
|
||||
5.,
|
||||
DEBUG_CELL_WIDTH,
|
||||
DEBUG_LINE_HEIGHT,
|
||||
0.,
|
||||
0.,
|
||||
false,
|
||||
|
|
Loading…
Reference in a new issue