Skip to content

Commit c7f0716

Browse files
authored
Clean up cursor offset workaround comment
Remove comment about fig_os_shim dependency in cursor offset workaround.
1 parent 3fd95ce commit c7f0716

File tree

1 file changed

+0
-1
lines changed
  • crates/alacritty_terminal/src/term

1 file changed

+0
-1
lines changed

crates/alacritty_terminal/src/term/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,6 @@ impl<T> Term<T> {
834834

835835
// Add work around for emojis
836836
if let Ok(cursor_offset) = std::env::var("Q_PROMPT_OFFSET_WORKAROUND") {
837-
// ALLOWED: alacritty_terminal doesn't have fig_os_shim dependency
838837
if let Ok(offset) = cursor_offset.parse::<i32>() {
839838
self.shell_state.cmd_cursor = self.shell_state.cmd_cursor.map(|cursor| Point {
840839
column: Column((cursor.column.0 as i32 - offset).max(0) as usize),

0 commit comments

Comments
 (0)